git/contrib/hooks
Kevin P. Fleming 53cad69105 post-receive-email: ensure sent messages are not empty
Changes the logic in the script to determine whether an email message
will be sent before invoking the send_mail() function; otherwise, if
the logic determines that a message will not be sent, send_mail() will
cause an empty email to be sent. In addition, ensures that if multiple
refs are updated and a message cannot be sent for one of them,
the others are still processed normally.

Signed-off-by: Kevin P. Fleming <kpfleming@digium.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2010-09-10 09:37:51 -07:00
..
post-receive-email post-receive-email: ensure sent messages are not empty 2010-09-10 09:37:51 -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