Code

builtin run_command: do not exit with -1.
[git.git] / git-am.sh
index cfa6fcf0af01e6b6c9e3a3a909d88b500aa25365..2514d07de2ea89598499a35e3e4a2fcc9096bbec 100755 (executable)
--- a/git-am.sh
+++ b/git-am.sh
@@ -460,6 +460,8 @@ do
                "$GIT_DIR"/hooks/post-applypatch
        fi
 
+       git gc --auto
+
        go_next
 done