doc: hooks.txt said post-commit default sends an email, it doesn't
authorAndy Parkins <andyparkins@gmail.com>
Fri, 2 Feb 2007 23:56:08 +0000 (23:56 +0000)
committerJunio C Hamano <junkio@cox.net>
Sat, 3 Feb 2007 05:18:59 +0000 (21:18 -0800)
The default post-commit hook is actually empty; it is the update hook
that sends an email. This patch corrects hooks.txt to reflect that.

Signed-off-by: Andy Parkins <andyparkins@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/hooks.txt
index e3b76f96eb303dc7eda20472c8c546cf51a54e67..b083290d120b36e882c2a6d190e58ae1ee07b02f 100644 (file)
@@ -90,9 +90,6 @@ parameter, and is invoked after a commit is made.
 This hook is meant primarily for notification, and cannot affect
 the outcome of `git-commit`.
 
-The default 'post-commit' hook, when enabled, demonstrates how to
-send out a commit notification e-mail.
-
 update
 ------
 
@@ -130,6 +127,8 @@ The standard output of this hook is sent to `stderr`, so if you
 want to report something to the `git-send-pack` on the other end,
 you can simply `echo` your messages.
 
+The default 'update' hook, when enabled, demonstrates how to
+send out a notification e-mail.
 
 post-update
 -----------