]> git.phdru.name Git - git-scripts.git/blobdiff - svn/svn2git
Run 'git repack' instead of 'git gc'
[git-scripts.git] / svn / svn2git
index b225f69e6ff3c7ce03997d523297b84ccd9e2b43..d5853daa88e1e28da6a2b620727b17e9fb77df21 100755 (executable)
@@ -55,6 +55,6 @@ cp -p ../authors.txt .git/info &&
 git config --local --path svn.authorsfile .git/info/authors.txt
 
 git svn gc &&
-git gc --aggressive &&
+git repack -a -d -f --depth=250 --window=250 &&
 echo "Cloned from $url using git-svn" >.git/description &&
 exec "${VISUAL:-${EDITOR:-vi}}" .git/description