doc: hooks.txt said post-commit default sends an email, it doesn't
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>
Andy Parkins committed
Feb 2, 2007 at 23:56 UTC
0d18e41e008e9ac1f371d090e2e1b85481221796
1 file changed
+2
-3
Documentation/hooks.txt
+2
-3
@@ -90,9 +90,6 @@ parameter, and is invoked after a commit is made.
90
This hook is meant primarily for notification, and cannot affect
91
the outcome of `git-commit`.
92
93
-The default 'post-commit' hook, when enabled, demonstrates how to
94
-send out a commit notification e-mail.
95
-
93
update
94
------
95
@@ -130,6 +127,8 @@ The standard output of this hook is sent to `stderr`, so if you
127
want to report something to the `git-send-pack` on the other end,
128
you can simply `echo` your messages.
129
130
+The default 'update' hook, when enabled, demonstrates how to
131
+send out a notification e-mail.
132
133
post-update
134
-----------