Re: BUG: sendemail-validate hook is run too early
Junio C Hamano
Jani Nikula
See Also
Prev Ref 1
2020-01-03 14:02:12 UTC
On Fri, 03 Jan 2020, Jani Nikula <> wrote:
> I think one possible alternative to adding a completely new hook would
> be postponing the sendemail-validate hook, passing the same patch on the
> command-line as before (to ensure current users are unchanged), and
> additionally passing in the recipients.

I realize the validation is done on *all* patches in a series before any
further processing, so the suggestion to postpone the current validation
hook is a bad idea. We'd need a new hook. The other points about having
both the patch contents and the recipients available to the hook remain.


Jani Nikula, Intel Open Source Graphics Center