Merge branch 'sb/merge-commit-msg-hook' into next
authorJunio C Hamano <gitster@pobox.com>
Mon, 25 Sep 2017 06:31:53 +0000 (15:31 +0900)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Sep 2017 06:31:57 +0000 (15:31 +0900)
Add documentation for a topic that has recently graduated to the
'master' branch.

* sb/merge-commit-msg-hook:
Documentation/githooks: mention merge in commit-msg hook

Documentation/githooks.txt
index 1bb4f92d4d317e16929767066a61c123fee0f280..5d3f45560ea9c29ec382c8772522f06ab5f81f73 100644 (file)
@@ -127,11 +127,10 @@ help message found in the commented portion of the commit template.
 commit-msg
 ~~~~~~~~~~
 
-This hook is invoked by 'git commit', and can be bypassed
-with the `--no-verify` option.  It takes a single parameter, the
-name of the file that holds the proposed commit log message.
-Exiting with a non-zero status causes the 'git commit' to
-abort.
+This hook is invoked by 'git commit' and 'git merge', and can be
+bypassed with the `--no-verify` option.  It takes a single parameter,
+the name of the file that holds the proposed commit log message.
+Exiting with a non-zero status causes the command to abort.
 
 The hook is allowed to edit the message file in place, and can be used
 to normalize the message into some project standard format. It