Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] post-receive-email: do not call sendmail if no mail was generated

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:47:22

Lars Noschinski [off-list ref] writes:
Actually, there are a two cases in the case statement before, where
generate_email would return:

    refs/remotes/*,commit)
        # tracking branch
        refname_type="tracking branch"
        short_refname=${refname##refs/remotes/}
        echo >&2 "*** Push-update of tracking branch, $refname"
        echo >&2 "***  - no email generated."
        exit 0
        ;;
    *)
        # Anything else (is there anything else?)
        echo >&2 "*** Unknown type of update to $refname ($rev_type)"
        echo >&2 "***  - no email generated"
        exit 1
        ;;
Ok, that justifies the existence of the patch.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help