]> asedeno.scripts.mit.edu Git - git.git/blobdiff - git-am.sh
Merge branch 'maint'
[git.git] / git-am.sh
index 77a0e20996a3f1a945485135791fd24596f8af60..2514d07de2ea89598499a35e3e4a2fcc9096bbec 100755 (executable)
--- 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