Code

contrib/hooks/post-receive-email: fix return values from prep_for_email
authorAlan Raison <alan@theraisons.me.uk>
Thu, 9 Dec 2010 16:03:05 +0000 (16:03 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 9 Dec 2010 17:34:11 +0000 (09:34 -0800)
commit8828aa3418792ff9deb2ab264c6934a5d0bb15e0
treef9d526f1b00f4aafbbfa32870f2dcbfd5063a417
parentf34e9edc7bbb41c52ff6a17dbffbef3d4979ee25
contrib/hooks/post-receive-email: fix return values from prep_for_email

The function was returning 0 for failure and 1 for success which was
breaking the logic in the main loop.  It now also returns in all
cases, rather than exiting.

Signed-off-by: Alan Raison <alan@theraisons.me.uk>
Acked-by: Kevin P. Fleming <kpfleming@digium.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/hooks/post-receive-email