]> asedeno.scripts.mit.edu Git - git.git/blobdiff - git-am.sh
submodule: Document the details of the command line syntax
[git.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"