git-commit: do not fail to print the diffstat even if there is a file named HEAD
Signed-off-by: Michael Loeffler <zvpunry@zvpunry.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
d677db86d9
commit
521f9c4def
@ -628,7 +628,7 @@ then
|
|||||||
if test -z "$quiet"
|
if test -z "$quiet"
|
||||||
then
|
then
|
||||||
echo "Created${initial_commit:+ initial} commit $commit"
|
echo "Created${initial_commit:+ initial} commit $commit"
|
||||||
git-diff-tree --shortstat --summary --root --no-commit-id HEAD
|
git-diff-tree --shortstat --summary --root --no-commit-id HEAD --
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user