summaryrefslogtreecommitdiff
path: root/builtin/clean.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2010-09-10 11:09:39 -0500
committerJunio C Hamano <gitster@pobox.com>2010-09-10 09:37:51 -0700
commit53cad69105e524deb014fe2ddec1d5804636d182 (patch)
treef683600c017b3e75195970437ad2771c7f637ea2 /builtin/clean.c
parentb03e7b7d76e79de14e76df5d4e2ee727f4522a95 (diff)
downloadgit-53cad69105e524deb014fe2ddec1d5804636d182.tar.gz
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 'builtin/clean.c')
0 files changed, 0 insertions, 0 deletions