Skip to content

Commit

Permalink
Merge branch 'jc/commit-careful'
Browse files Browse the repository at this point in the history
* jc/commit-careful:
  git-commit: show --summary after successful commit.
  • Loading branch information
Junio C Hamano committed Dec 13, 2006
2 parents f88bd39 + 61f5cb7 commit 490e092
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Documentation/tutorial-2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ $ echo 'hello world' > file.txt
$ git add .
$ git commit -a -m "initial commit"
Committing initial tree 92b8b694ffb1675e5975148e1121810081dbdffe
create mode 100644 file.txt
$ echo 'hello world!' >file.txt
$ git commit -a -m "add emphasis"
------------------------------------------------
Expand Down
3 changes: 3 additions & 0 deletions git-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 490e092

Please sign in to comment.