Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Loeffler <zvpunry@zvpunry.de>2007-01-08 22:23:13 +0300
committerJunio C Hamano <junkio@cox.net>2007-01-09 01:45:59 +0300
commit521f9c4def9430526bfdfffdb8ed4c2f4166bece (patch)
tree4f86bc12f27141b2196c3eea308c9b3296509c12 /git-commit.sh
parentd677db86d9fa98b063846ed461312eb04fe23ba5 (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>
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