aboutsummaryrefslogtreecommitdiffstats
path: root/git-commit.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-12-13 11:03:46 -0800
committerJunio C Hamano <junkio@cox.net>2006-12-13 11:03:46 -0800
commit490e092defd01ff645457cde4e96bc0d0d534ccd (patch)
tree416289579cae9553b51dc852dcbb00eac1578c2e /git-commit.sh
parentMerge branch 'ap/clone-origin' (diff)
parentgit-commit: show --summary after successful commit. (diff)
downloadgit-490e092defd01ff645457cde4e96bc0d0d534ccd.tar.gz
git-490e092defd01ff645457cde4e96bc0d0d534ccd.zip
Merge branch 'jc/commit-careful'
* jc/commit-careful: git-commit: show --summary after successful commit.
Diffstat (limited to 'git-commit.sh')
-rwxr-xr-xgit-commit.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-commit.sh b/git-commit.sh
index 81c3a0cb61..7e9742d5e7 100755
--- a/git-commit.sh
+++ b/git-commit.sh
@@ -629,4 +629,7 @@ if test -x "$GIT_DIR"/hooks/post-commit && test "$ret" = 0
then
"$GIT_DIR"/hooks/post-commit
fi
+
+test "$ret" = 0 && git-diff-tree --summary --root --no-commit-id HEAD
+
exit "$ret"