diff options
author | Michael Loeffler <zvpunry@zvpunry.de> | 2007-01-08 20:23:13 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-01-08 14:45:59 -0800 |
commit | 521f9c4def9430526bfdfffdb8ed4c2f4166bece (patch) | |
tree | 4f86bc12f27141b2196c3eea308c9b3296509c12 /git-commit.sh | |
parent | d677db86d9fa98b063846ed461312eb04fe23ba5 (diff) | |
download | git-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-x | git-commit.sh | 2 |
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 |