git svn clone "$url" --authors-file=authors.txt --prefix=svn/ --stdlayout "$dir" &&
cd "$dir" &&
-# Convert tags and branches
+# Convert branches and tags
# See http://blog.jessitron.com/2013/08/converting-from-svn-to-git.html
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