summaryrefslogtreecommitdiff
path: root/git-commit.sh
diff options
context:
space:
mode:
authorMichael Loeffler <zvpunry@zvpunry.de>2007-01-08 19:23:13 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-01-08 22:45:59 (GMT)
commit521f9c4def9430526bfdfffdb8ed4c2f4166bece (patch)
tree4f86bc12f27141b2196c3eea308c9b3296509c12 /git-commit.sh
parentd677db86d9fa98b063846ed461312eb04fe23ba5 (diff)
downloadgit-521f9c4def9430526bfdfffdb8ed4c2f4166bece.zip
git-521f9c4def9430526bfdfffdb8ed4c2f4166bece.tar.gz
git-521f9c4def9430526bfdfffdb8ed4c2f4166bece.tar.bz2
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 04aad5e..c2beb76 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