git-migration: pld-git.sh - .git-rewrite is dir, so check for that

glen glen at pld-linux.org
Thu Mar 17 08:55:06 CET 2011


Author: glen                         Date: Thu Mar 17 07:55:06 2011 GMT
Module: git-migration                 Tag: HEAD
---- Log message:
- .git-rewrite is dir, so check for that

---- Files affected:
git-migration:
   pld-git.sh (1.32 -> 1.33) 

---- Diffs:

================================================================
Index: git-migration/pld-git.sh
diff -u git-migration/pld-git.sh:1.32 git-migration/pld-git.sh:1.33
--- git-migration/pld-git.sh:1.32	Thu Mar 17 02:13:01 2011
+++ git-migration/pld-git.sh	Thu Mar 17 08:55:01 2011
@@ -103,7 +103,7 @@
 		echo >&2 "cvs2git missing, install cvs2svn package"
 		exit 1
 	}
-	[ -x .git-rewrite ] && {
+	[ -d .git-rewrite ] && {
 		echo >&2 ".git-rewrite exists; remove it if you want to continue"
 		exit 1
 	}
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/git-migration/pld-git.sh?r1=1.32&r2=1.33&f=u



More information about the pld-cvs-commit mailing list