diff options
author | Andy Parkins <andyparkins@gmail.com> | 2007-02-02 23:56:08 +0000 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-02-02 21:18:59 -0800 |
commit | 0d18e41e008e9ac1f371d090e2e1b85481221796 (patch) | |
tree | 6e7f0db84dd31745be84149448fe6c1e85ba8464 | |
parent | b6936205e73c058784288d21d1937e5bba26b91b (diff) | |
download | git-0d18e41e008e9ac1f371d090e2e1b85481221796.tar.gz git-0d18e41e008e9ac1f371d090e2e1b85481221796.tar.xz |
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>
-rw-r--r-- | Documentation/hooks.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Documentation/hooks.txt b/Documentation/hooks.txt index e3b76f96e..b083290d1 100644 --- a/Documentation/hooks.txt +++ b/Documentation/hooks.txt @@ -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 ----------- |