X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-applypatch.sh;h=e4b09472e1fa27a6431b431572af7353c4f0a9b2;hb=7612a1efdb0c0806b43db10ce784707aae874340;hp=12cab1e0d4ceb1f1c58c418f96358b252713bf58;hpb=1a17ee22a2fbd85a893ab36fd53168d03554c2dd;p=git.git diff --git a/git-applypatch.sh b/git-applypatch.sh index 12cab1e0..e4b09472 100755 --- a/git-applypatch.sh +++ b/git-applypatch.sh @@ -204,7 +204,7 @@ echo Wrote tree $tree parent=$(git-rev-parse --verify HEAD) && commit=$(git-commit-tree $tree -p $parent <"$final") || exit 1 echo Committed: $commit -git-update-ref HEAD $commit $parent || exit +git-update-ref -m "applypatch: $SUBJECT" HEAD $commit $parent || exit if test -x "$GIT_DIR"/hooks/post-applypatch then