Permalink
Browse files

Added tag fixing

  • Loading branch information...
1 parent 7409a7b commit c321ead2d569fa08c540bf6235e44911dd892ea0 @jsuereth committed Oct 24, 2011
Showing with 9 additions and 0 deletions.
  1. +9 −0 make-repo.sh
View
@@ -23,6 +23,15 @@ git branch -D trunk
git config --remove-section svn-remote.svn
rm -Rf .git/svn/
+# Convert tag branches into git tags.
+git for-each-ref --format='%(refname)' refs/heads/tags |
+cut -d / -f 4 |
+while read ref
+do
+ git tag "$ref" "refs/heads/tags/$ref";
+ git branch -D "tags/$ref";
+done
+
# Next filter the branches to remove binary artifacts.
#$curdir/filter-branch.sh
# Now clean up unreferenced commits.

0 comments on commit c321ead

Please sign in to comment.