1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-06-19 15:59:37 +02:00

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>
This commit is contained in:
Andy Parkins 2007-02-02 23:56:08 +00:00 committed by Junio C Hamano
parent b6936205e7
commit 0d18e41e00

View 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
-----------