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>
Michael Loeffler committed
Jan 8, 2007 at 20:23 UTC
521f9c4def9430526bfdfffdb8ed4c2f4166bece
1 file changed
+1
-1
git-commit.sh
+1
-1
@@ -628,7 +628,7 @@ then
628
if test -z "$quiet"
629
then
630
echo "Created${initial_commit:+ initial} commit $commit"
631
- git-diff-tree --shortstat --summary --root --no-commit-id HEAD
631
+ git-diff-tree --shortstat --summary --root --no-commit-id HEAD --
632
fi
633
fi
634