diff options
author | Michael Loeffler <zvpunry@zvpunry.de> | 2007-01-08 22:23:13 +0300 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-01-09 01:45:59 +0300 |
commit | 521f9c4def9430526bfdfffdb8ed4c2f4166bece (patch) | |
tree | 4f86bc12f27141b2196c3eea308c9b3296509c12 | |
parent | d677db86d9fa98b063846ed461312eb04fe23ba5 (diff) |
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>
-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 |