diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2010-09-10 11:09:39 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-09-10 09:37:51 -0700 |
commit | 53cad69105e524deb014fe2ddec1d5804636d182 (patch) | |
tree | f683600c017b3e75195970437ad2771c7f637ea2 /t/t4013/diff.diff-tree_--pretty=oneline_-p_initial | |
parent | post-receive-email: optional message line count limit (diff) | |
download | tgif-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 't/t4013/diff.diff-tree_--pretty=oneline_-p_initial')
0 files changed, 0 insertions, 0 deletions