diff options
-rwxr-xr-x | git-commit.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/git-commit.sh b/git-commit.sh index 9e0959aec0..f28fc24224 100755 --- a/git-commit.sh +++ b/git-commit.sh @@ -649,8 +649,9 @@ then fi if test -z "$quiet" then + commit=`git-diff-tree --always --shortstat --pretty="format:%h: %s"\ + --summary --root HEAD --` echo "Created${initial_commit:+ initial} commit $commit" - git-diff-tree --shortstat --summary --root --no-commit-id HEAD -- fi fi |