git-migration: cvs2git_fixes.sh - do not use deprecated egrep
glen
glen at pld-linux.org
Wed Feb 9 10:45:28 CET 2011
Author: glen Date: Wed Feb 9 09:45:28 2011 GMT
Module: git-migration Tag: HEAD
---- Log message:
- do not use deprecated egrep
---- Files affected:
git-migration:
cvs2git_fixes.sh (1.5 -> 1.6)
---- Diffs:
================================================================
Index: git-migration/cvs2git_fixes.sh
diff -u git-migration/cvs2git_fixes.sh:1.5 git-migration/cvs2git_fixes.sh:1.6
--- git-migration/cvs2git_fixes.sh:1.5 Wed Feb 9 10:17:47 2011
+++ git-migration/cvs2git_fixes.sh Wed Feb 9 10:45:23 2011
@@ -26,7 +26,7 @@
fi
done
-git show-ref --heads | egrep 'unlabeled-[0-9.]+$' | \
+git show-ref --heads | grep -E 'unlabeled-[0-9.]+$' | \
while read rev branchname; do
if [ -z "$name" ]; then
git update-ref -d "$branchname" $rev
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/git-migration/cvs2git_fixes.sh?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list