post-receive-email: deprecate script in favor of git-multimail

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> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Michael Haggerty committed Jul 14, 2013 at 10:09 UTC 1d25e7746d0a795afc16b4dac2da697ae660d987
1 file changed +13 -4
contrib/hooks/post-receive-email
+13 -4
@@ -2,10 +2,19 @@
2 #
3 # Copyright (c) 2007 Andy Parkins
4 #
5 -# An example hook script to mail out commit update information. This hook
6 -# sends emails listing new revisions to the repository introduced by the
7 -# change being reported. The rule is that (for branch updates) each commit
8 -# will appear on one email and one email only.
5 +# An example hook script to mail out commit update information.
6 +#
7 +# NOTE: This script is no longer under active development. There
8 +# is another script, git-multimail, which is more capable and
9 +# configurable and is largely backwards-compatible with this script;
10 +# please see "contrib/hooks/multimail/". For instructions on how to
11 +# migrate from post-receive-email to git-multimail, please see
12 +# "README.migrate-from-post-receive-email" in that directory.
13 +#
14 +# This hook sends emails listing new revisions to the repository
15 +# introduced by the change being reported. The rule is that (for
16 +# branch updates) each commit will appear on one email and one email
17 +# only.
18 #
19 # This hook is stored in the contrib/hooks directory. Your distribution
20 # will have put this somewhere standard. You should make this script