Author: glen                         Date: Fri Feb 18 22:54:37 2011 GMT
Module: git-migration                 Tag: HEAD
---- Log message:
- tabs

---- Files affected:
git-migration:
   pld-git.sh (1.30 -> 1.31) 

---- Diffs:

================================================================
Index: git-migration/pld-git.sh
diff -u git-migration/pld-git.sh:1.30 git-migration/pld-git.sh:1.31
--- git-migration/pld-git.sh:1.30       Wed Feb 16 16:36:55 2011
+++ git-migration/pld-git.sh    Fri Feb 18 23:54:32 2011
@@ -1,4 +1,5 @@
 #!/bin/sh
+# vim:noet:ts=4:sw=4
 # Author: Elan Ruusamäe <g...@pld-linux.org>
 
 set -e
@@ -77,7 +78,7 @@
                        cat CVSROOT/users >> cvs.userlog
                done
        fi
-       perl -ne '
+       perl -ne '
                chomp;
                my($login, $email, $name) = split(/:/);
                # skip notes
@@ -87,7 +88,7 @@
                $email = "$login\@pld-linux.org";
                printf("%s=%s <%s>\n", $login, $name, $email) unless 
$seen{$login};
                $seen{$login}++;
-       '  cvs.userlog > cvs.users
+       ' cvs.userlog > cvs.users
 }
 
 # run cvs2git on each package module
@@ -126,9 +127,9 @@
                # make final changes to converted repos by git-filter-branch
                git filter-branch --tree-filter ". $tree_filter" -- --all
 
-                # clear all refs
-                git for-each-ref --format="%(refname)" refs/original/ | xargs 
-n 1 git update-ref -d
-                git gc --prune=now
+               # clear all refs
+               git for-each-ref --format="%(refname)" refs/original/ | xargs 
-n 1 git update-ref -d
+               git gc --prune=now
 
                # add origin remote
                git remote add origin g...@github.com:pld-linux/$pkg.git
================================================================

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

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to