X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=git-am.sh;h=2514d07de2ea89598499a35e3e4a2fcc9096bbec;hb=e2b7eaf0ca3897940961d23392d4ff718867ea9f;hp=77a0e20996a3f1a945485135791fd24596f8af60;hpb=1f088191015968436e7cc6423827b0c26f3427ea;p=git.git diff --git a/git-am.sh b/git-am.sh index 77a0e2099..2514d07de 100755 --- a/git-am.sh +++ b/git-am.sh @@ -453,13 +453,15 @@ do parent=$(git rev-parse --verify HEAD) && commit=$(git commit-tree $tree -p $parent <"$dotest/final-commit") && git update-ref -m "$GIT_REFLOG_ACTION: $SUBJECT" HEAD $commit $parent || - stop_here $thisy + stop_here $this if test -x "$GIT_DIR"/hooks/post-applypatch then "$GIT_DIR"/hooks/post-applypatch fi + git gc --auto + go_next done