X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=svn%2Fsvn2git;h=f8ae407835d2aa637d025312b6558ff6c1007ae3;hb=HEAD;hp=5c68c17248f5bad2765fa81eaf128e9cb5c16987;hpb=472be778aa9f5725f3a7757baa5c791b32182f2c;p=git-scripts.git diff --git a/svn/svn2git b/svn/svn2git index 5c68c17..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 `git var GIT_EDITOR` .git/description