summaryrefslogtreecommitdiff
path: root/show-index.c
diff options
context:
space:
mode:
authorLibravatar Kevin P. Fleming <kpfleming@digium.com>2010-09-10 11:09:39 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-09-10 09:37:51 -0700
commit53cad69105e524deb014fe2ddec1d5804636d182 (patch)
treef683600c017b3e75195970437ad2771c7f637ea2 /show-index.c
parentpost-receive-email: optional message line count limit (diff)
downloadtgif-53cad69105e524deb014fe2ddec1d5804636d182.tar.xz
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>
Diffstat (limited to 'show-index.c')
0 files changed, 0 insertions, 0 deletions