git-commit-vandalism/contrib/hooks
Jonathan Nieder cc24a1d809 post-receive-email: document command-line mode
According to the default hooks/post-receive file, the hook is called
with three arguments on stdin:

  <oldrev> <newrev> <refname>

In command-line mode, the arguments come in a different order, because
the email hook instead calls:

  generate_email $2 $3 $1

Add a comment to explain why, based on comments from the mailing list
and the commit message to v1.5.1~9.  Thanks to Andy for the
explanation.

Requested-by: martin f. krafft <madduck@debian.org>
Cc: Andy Parkins <andyparkins@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2010-05-19 20:45:30 -07:00
..
post-receive-email post-receive-email: document command-line mode 2010-05-19 20:45:30 -07:00
pre-auto-gc-battery Add Linux PPC support to the pre-auto-gc example hook 2008-10-14 16:50:09 -07:00
setgitperms.perl Use dashless git commands in setgitperms.perl 2008-09-22 09:36:12 -07:00
update-paranoid Ignore no-op changes in paranoid update hook 2008-05-25 20:29:30 -07:00