diff --git a/git-am.sh b/git-am.sh
index 97ec2d0c7db521047e254e53120ffc83829868a9..4232e27411036e339f8102e45b7cb699c808a798 100755 (executable)
--- a/git-am.sh
+++ b/git-am.sh
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