From 521f9c4def9430526bfdfffdb8ed4c2f4166bece Mon Sep 17 00:00:00 2001 From: Michael Loeffler Date: Mon, 8 Jan 2007 20:23:13 +0100 Subject: [PATCH] git-commit: do not fail to print the diffstat even if there is a file named HEAD Signed-off-by: Michael Loeffler Signed-off-by: Junio C Hamano --- git-commit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-commit.sh b/git-commit.sh index 04aad5e5d..c2beb76fe 100755 --- a/git-commit.sh +++ b/git-commit.sh @@ -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 -- 2.30.2