]> git.phdru.name Git - git-scripts.git/blobdiff - svn/svn2git
Use `git var GIT_EDITOR` to call editor
[git-scripts.git] / svn / svn2git
index 6ca904c16eda2d540008282d8f6b4dc059fc169d..5c68c17248f5bad2765fa81eaf128e9cb5c16987 100755 (executable)
@@ -55,6 +55,7 @@ cp -p ../authors.txt .git/info &&
 git config --local --path svn.authorsfile .git/info/authors.txt
 
 git svn gc &&
-git repack -a -d -f --depth=250 --window=250 &&
+git gc --aggressive &&
+git repack -a -d -f --depth=20 --window=250 &&
 echo "Cloned from $url using git-svn" >.git/description &&
-exec "${VISUAL:-${EDITOR:-vi}}" .git/description
+exec `git var GIT_EDITOR` .git/description