summaryrefslogtreecommitdiff
path: root/git-commit.sh
diff options
context:
space:
mode:
authorMichael Loeffler <zvpunry@zvpunry.de>2007-01-08 20:23:13 +0100
committerJunio C Hamano <junkio@cox.net>2007-01-08 14:45:59 -0800
commit521f9c4def9430526bfdfffdb8ed4c2f4166bece (patch)
tree4f86bc12f27141b2196c3eea308c9b3296509c12 /git-commit.sh
parentd677db86d9fa98b063846ed461312eb04fe23ba5 (diff)
downloadgit-521f9c4def9430526bfdfffdb8ed4c2f4166bece.tar.gz
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>
Diffstat (limited to 'git-commit.sh')
-rwxr-xr-xgit-commit.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-commit.sh b/git-commit.sh
index 04aad5e5da..c2beb76fe4 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