X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=svn%2Fsvn2git;h=ab89784f4803ee4c4427a7d22022cf82d226d65c;hb=fe99855e1c76f5699a12eae8a5bab618a1e59e1e;hp=dde280f4f77b485960389d3b960100619ddf9e27;hpb=dd5f99a8311bfaa7dea3d33048137e00a7d25831;p=git-scripts.git diff --git a/svn/svn2git b/svn/svn2git index dde280f..ab89784 100755 --- a/svn/svn2git +++ b/svn/svn2git @@ -29,7 +29,7 @@ cd "$dir" && # 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' | @@ -56,6 +56,5 @@ 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