X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-am.sh;h=4232e27411036e339f8102e45b7cb699c808a798;hb=ae448e3854d8b6e7e37aa88fa3917f5dd97f3210;hp=97ec2d0c7db521047e254e53120ffc83829868a9;hpb=376bb3a352d6512a318706c2fba5737ffd7cc92b;p=git.git diff --git a/git-am.sh b/git-am.sh index 97ec2d0c..4232e274 100755 --- a/git-am.sh +++ b/git-am.sh @@ -413,7 +413,7 @@ do parent=$(git-rev-parse --verify HEAD) && commit=$(git-commit-tree $tree -p $parent <"$dotest/final-commit") && echo Committed: $commit && - git-update-ref HEAD $commit $parent || + git-update-ref -m "am: $SUBJECT" HEAD $commit $parent || stop_here $this if test -x "$GIT_DIR"/hooks/post-applypatch