Re: BUG: sendemail-validate hook is run too early
To
Junio C Hamano
Cc
git@vger.kernel.org
From
Jani Nikula
See Also
Prev Ref 1
Date
2020-01-03 14:02:12 UTC
On Fri, 03 Jan 2020, Jani Nikula <jani.nikula@intel.com> 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.

BR,
Jani.


-- 
Jani Nikula, Intel Open Source Graphics Center