git-migration: pld-git.sh - more efficient compression of git repo

draenog draenog at pld-linux.org
Thu May 12 21:32:52 CEST 2011


Author: draenog                      Date: Thu May 12 19:32:52 2011 GMT
Module: git-migration                 Tag: HEAD
---- Log message:
- more efficient compression of git repo

---- Files affected:
git-migration:
   pld-git.sh (1.37 -> 1.38) 

---- Diffs:

================================================================
Index: git-migration/pld-git.sh
diff -u git-migration/pld-git.sh:1.37 git-migration/pld-git.sh:1.38
--- git-migration/pld-git.sh:1.37	Tue Mar 29 16:36:22 2011
+++ git-migration/pld-git.sh	Thu May 12 21:32:46 2011
@@ -139,7 +139,7 @@
 		# add origin remote
 		git remote add origin git at github.com:pld-linux/$pkg.git
 		# do some space
-		git repack -a -d
+		git repack -a -d -f -F --window=250 --depth=250
 		> $GIT_DIR/description
 		rm -f $GIT_DIR/hooks/*
 
================================================================

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



More information about the pld-cvs-commit mailing list