git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v4 2/2] post-receive-email: deprecate script in favor of git-multimail

From
Michael Haggerty <mhagger@alum.mit.edu>
Date
Jul 14, 2013, 08:09 UTC
Message-ID
<1373789343-3189-3-git-send-email-mhagger@alum.mit.edu>
In-Reply-To
<1373789343-3189-1-git-send-email-mhagger@alum.mit.edu>

Add a notice to the top of post-receive-email explaining that the script is no longer under active development and pointing the user to git-multimail.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
---
If you think this is premature or the wording is too strong; feel free
to change or omit this patch.  I think it's fine, but then I might be
biased...
 contrib/hooks/post-receive-email | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/contrib/hooks/post-receive-email b/contrib/hooks/post-receive-email
index 0e5b72d..23d7783 100755
--- a/contrib/hooks/post-receive-email
+++ b/contrib/hooks/post-receive-email
@@ -2,10 +2,19 @@
 #
 # Copyright (c) 2007 Andy Parkins
 #
-# An example hook script to mail out commit update information.  This hook
-# sends emails listing new revisions to the repository introduced by the
-# change being reported.  The rule is that (for branch updates) each commit
-# will appear on one email and one email only.
+# An example hook script to mail out commit update information.
+#
+# ***NOTICE***: This script is no longer under active development.  It
+# has been superseded by git-multimail, which is more capable and
+# configurable and is largely backwards-compatible with this script;
+# please see "contrib/hooks/multimail/".  For instructions on how to
+# migrate from post-receive-email to git-multimail, please see
+# "README.migrate-from-post-receive-email" in that directory.
+#
+# This hook sends emails listing new revisions to the repository
+# introduced by the change being reported.  The rule is that (for
+# branch updates) each commit will appear on one email and one email
+# only.
 #
 # This hook is stored in the contrib/hooks directory.  Your distribution
 # will have put this somewhere standard.  You should make this script
-- 
1.8.3.2
Previous: Michael HaggertyNext: Jonathan Nieder
Message 2 of 8 in “git-multimail: a replacement for post-receive-email”
  1. 0/2 git-multimail: a replacement for post-receive-emailMichael Haggerty, Jul 14, 2013
  2. 2/2 post-receive-email: deprecate script in favor of git-multimailMichael Haggerty, Jul 14, 2013
  3. Jonathan NiederJul 15, 2013
  4. Michael HaggertyJul 15, 2013
  5. Matthieu MoyJul 15, 2013
  6. Junio C HamanoJul 15, 2013
  7. Junio C HamanoJul 23, 2013
  8. Jonathan NiederJul 15, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.