git-migration: cvs2git_fixes.sh - fix for spaces in author name

draenog draenog at pld-linux.org
Wed Feb 9 07:23:39 CET 2011


Author: draenog                      Date: Wed Feb  9 06:23:39 2011 GMT
Module: git-migration                 Tag: HEAD
---- Log message:
- fix for spaces in author name

---- Files affected:
git-migration:
   cvs2git_fixes.sh (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: git-migration/cvs2git_fixes.sh
diff -u git-migration/cvs2git_fixes.sh:1.1 git-migration/cvs2git_fixes.sh:1.2
--- git-migration/cvs2git_fixes.sh:1.1	Tue Feb  8 21:03:38 2011
+++ git-migration/cvs2git_fixes.sh	Wed Feb  9 07:23:34 2011
@@ -8,7 +8,7 @@
 
 git show-ref --tags | \
 while read rev tagname; do
-        if [ `git show --format="%an" --quiet $rev` = "cvs2svn" -a \
+        if [ "`git show --format="%an" --quiet $rev`" = "cvs2svn" -a \
              -z "`git branch --contains $rev`" ]; then
                 git diff-tree --diff-filter=ACMRTUXB --quiet $rev~ $rev && \
                         git update-ref "$tagname" $rev~
================================================================

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



More information about the pld-cvs-commit mailing list