1
0
mirror of https://github.com/git/git.git synced 2024-09-28 04:10:41 +02:00

Display the subject of the commit just made.

Useful e.g. to figure out what I did from screen history,
or to make sure subject line is short enough and makes sense
on its own.

Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Michael S. Tsirkin 2007-04-16 08:51:11 +03:00 committed by Junio C Hamano
parent 1532017535
commit c7263d4d3d

View File

@ -649,8 +649,9 @@ then
fi
if test -z "$quiet"
then
commit=`git-diff-tree --always --shortstat --pretty="format:%h: %s"\
--summary --root HEAD --`
echo "Created${initial_commit:+ initial} commit $commit"
git-diff-tree --shortstat --summary --root --no-commit-id HEAD --
fi
fi