Add merge-subtree back
[gitweb.git] / git-am.sh
index 65c634f77af98b3598bfb50583de05f0cf5d6eb4..5f0f241ad0bb53960d5969df5445760633f87dbc 100755 (executable)
--- a/git-am.sh
+++ b/git-am.sh
@@ -469,9 +469,9 @@ do
                "$GIT_DIR"/hooks/post-applypatch
        fi
 
-       git gc --auto
-
        go_next
 done
 
+git gc --auto
+
 rm -fr "$dotest"