X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=svn%2Fsvn2git;h=5c68c17248f5bad2765fa81eaf128e9cb5c16987;hb=68dcecea7c125ced02c18fa641c21ac5d3ce05aa;hp=57bf7f264e6b9d387743e08344a9368810cee903;hpb=cbbebd570fc6d3f3d125893003946b6749d5fb38;p=git-scripts.git diff --git a/svn/svn2git b/svn/svn2git index 57bf7f2..5c68c17 100755 --- a/svn/svn2git +++ b/svn/svn2git @@ -55,6 +55,7 @@ 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=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