From 70a6eb6d73b3e302b9b9c02342581fada25dcad9 Mon Sep 17 00:00:00 2001 From: tyger Date: Wed, 2 Mar 2011 13:18:10 +0000 Subject: [PATCH] don't forget to rewrite tags --- doc/forum/migrate_existing_git_repository_to_git-annex.mdwn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/forum/migrate_existing_git_repository_to_git-annex.mdwn b/doc/forum/migrate_existing_git_repository_to_git-annex.mdwn index 93ff4972de..f673de765b 100644 --- a/doc/forum/migrate_existing_git_repository_to_git-annex.mdwn +++ b/doc/forum/migrate_existing_git_repository_to_git-annex.mdwn @@ -32,7 +32,9 @@ I finally got it working for my purposes. Hardest part was preserving the branch #### Migrate repository mkdir .temp cp .git-annex/* .temp/ - MYWORKDIR=$(pwd) git filter-branch --tree-filter ' + MYWORKDIR=$(pwd) git filter-branch \ + --tag-name-filter cat \ + --tree-filter ' mkdir -p .git-annex; cp ${MYWORKDIR}/.temp/* .git-annex/; for rpm in $(git ls-files | grep "\.rpm$"); do