[gnome-git-migration] Move filter-branch and repack post-processing to fixup.sh



commit 8ea3cf550934cc1de1d0631f3cba9caec3bc742d
Author: Kristian Høgsberg <krh redhat com>
Date:   Mon Mar 23 14:52:33 2009 -0400

    Move filter-branch and repack post-processing to fixup.sh
---
 import/Makefile |    2 --
 import/fixup.sh |    4 ++++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/import/Makefile b/import/Makefile
index 3119795..eea3711 100644
--- a/import/Makefile
+++ b/import/Makefile
@@ -14,8 +14,6 @@ $(DSTDIR)/%.git : %.git
 %.git : /mnt/git-data/svn/% gnome-all-usermap 
 	./run-import.sh $*
 	./fixup.sh $*.git
-	GIT_DIR=$*.git git filter-branch -f --commit-filter ${PWD}'/gnome-edit-changelog $$@' --tag-name-filter cat -- --all
-	GIT_DIR=$*.git git repack -a -d -f --window=50 --depth=20
 
 gnome-all-usermap : Authors
 	cat Authors | sed -e 's/=/ /' > $@
diff --git a/import/fixup.sh b/import/fixup.sh
index e00567f..1114421 100755
--- a/import/fixup.sh
+++ b/import/fixup.sh
@@ -42,3 +42,7 @@ EOF
 
     esac
 done
+
+git filter-branch -f --commit-filter ${PWD}'/gnome-edit-changelog $$@' --tag-name-filter cat -- --all
+
+git repack -a -d -f --window=50 --depth=20



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]