{"thread":{"id":"6632","subject":"[PATCH] doc: hooks.txt said post-commit default sends an email, it doesn't","startedAt":"2007-02-02T23:56:08Z","lastAt":"2007-02-02T23:56:08Z","messageCount":1,"participants":["Andy Parkins"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"33423","messageId":"200702022356.11180.andyparkins@gmail.com","threadId":"6632","inReplyTo":null,"subject":"[PATCH] doc: hooks.txt said post-commit default sends an email, it doesn't","fromName":"Andy Parkins","fromEmail":"andyparkins@gmail.com","sentAt":"2007-02-02T23:56:08Z","receivedAt":"2007-02-02T23:56:08Z","isPatch":true,"sender":{"key":"andyparkins@gmail.com","avatar":null},"body":"The default post-commit hook is actually empty; it is the update hook\nthat sends an email.  This patch corrects hooks.txt to reflect that.\n\nSigned-off-by: Andy Parkins <andyparkins@gmail.com>\n---\n Documentation/hooks.txt |    5 ++---\n 1 files changed, 2 insertions(+), 3 deletions(-)\n\ndiff --git a/Documentation/hooks.txt b/Documentation/hooks.txt\nindex e3b76f9..b083290 100644\n--- a/Documentation/hooks.txt\n+++ b/Documentation/hooks.txt\n@@ -90,9 +90,6 @@ parameter, and is invoked after a commit is made.\n This hook is meant primarily for notification, and cannot affect\n the outcome of `git-commit`.\n \n-The default 'post-commit' hook, when enabled, demonstrates how to\n-send out a commit notification e-mail.\n-\n update\n ------\n \n@@ -130,6 +127,8 @@ The standard output of this hook is sent to `stderr`, so if you\n want to report something to the `git-send-pack` on the other end,\n you can simply `echo` your messages.\n \n+The default 'update' hook, when enabled, demonstrates how to\n+send out a notification e-mail.\n \n post-update\n -----------\n-- \n1.5.0.rc1.gf4b6c\n"}]}