Merge branch 'maint'
authorJunio C Hamano <gitster@pobox.com>
Thu, 20 May 2010 04:28:51 +0000 (21:28 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 May 2010 04:28:51 +0000 (21:28 -0700)
* maint:
post-receive-email: document command-line mode

contrib/hooks/post-receive-email
index 58a35c82870c54f844fd1154a82237891655f38f..30ae63d74da065a31cced0b161708680f39c04c0 100755 (executable)
 # possible for the email to be from someone other than the person doing the
 # push.
 #
+# To help with debugging and use on pre-v1.5.1 git servers, this script will
+# also obey the interface of hooks/update, taking its arguments on the
+# command line.  Unfortunately, hooks/update is called once for each ref.
+# To avoid firing one email per ref, this script just prints its output to
+# the screen when used in this mode.  The output can then be redirected if
+# wanted.
+#
 # Config
 # ------
 # hooks.mailinglist