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>maint
parent
1532017535
commit
c7263d4d3d
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue