X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=git-am.sh;h=2514d07de2ea89598499a35e3e4a2fcc9096bbec;hb=e2b7eaf0ca3897940961d23392d4ff718867ea9f;hp=32c46d7ed4b26220f4c9e7fc778bb240c85dae1c;hpb=471fa1ecd5c323807b8156956c4602c5966f3a2b;p=git.git diff --git a/git-am.sh b/git-am.sh index 32c46d7ed..2514d07de 100755 --- a/git-am.sh +++ b/git-am.sh @@ -394,9 +394,7 @@ do stop_here $this fi - echo printf 'Applying %s\n' "$SUBJECT" - echo case "$resolved" in '') @@ -452,10 +450,8 @@ do fi tree=$(git write-tree) && - echo Wrote tree $tree && parent=$(git rev-parse --verify HEAD) && commit=$(git commit-tree $tree -p $parent <"$dotest/final-commit") && - echo Committed: $commit && git update-ref -m "$GIT_REFLOG_ACTION: $SUBJECT" HEAD $commit $parent || stop_here $this @@ -464,6 +460,8 @@ do "$GIT_DIR"/hooks/post-applypatch fi + git gc --auto + go_next done