Skip to content

Commit

Permalink
git-commit: do not fail to print the diffstat even if there is a file…
Browse files Browse the repository at this point in the history
… named HEAD

Signed-off-by: Michael Loeffler <zvpunry@zvpunry.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Michael Loeffler authored and Junio C Hamano committed Jan 8, 2007
1 parent d677db8 commit 521f9c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ then
if test -z "$quiet"
then
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

Expand Down

0 comments on commit 521f9c4

Please sign in to comment.