# Convert branches and tags
-# See http://blog.jessitron.com/2013/08/converting-from-svn-to-git.html
+# See https://jessitron.com/2013/08/17/converting-from-svn-to-git/
git for-each-ref --format="%(refname:short)" refs/remotes/svn |
sed 's#svn/##' | grep -v '^tags' |
git svn gc &&
git gc --aggressive &&
-git repack -a -d -f --depth=20 --window=250 &&
echo "Cloned from $url using git-svn" >.git/description &&
exec `git var GIT_EDITOR` .git/description