Subject: Re: [PATCH v3 3/9] hook: parse the hook.jobs config

From: Junio C Hamano <[email-masked]>
Date: Sun, 15 Mar 2026 09:13:25 -0700

Adrian Ratiu <[email-masked]> writes:

> The hook.jobs config is a global way to set hook parallelization for
> all hooks, in the sense that it is not per-event nor per-hook.
>
> Finer-grained configs will be added in later commits which can override
> it, for e.g. via a per-event type job options. Next commits will also
> add to this item's documentation.
>
> Parse hook.jobs config key in hook_config_lookup_all() and store its
> value in hook_all_config_cb.jobs, then transfer it into
> hook_config_cache.jobs after the config pass completes.
>
> This is mostly plumbing and the cached value is not yet used.
>
> Signed-off-by: Adrian Ratiu <[email-masked]>
> ---
>  Documentation/config/hook.adoc |  4 ++++
>  hook.c                         | 22 ++++++++++++++++++++--
>  hook.h                         |  1 +
>  3 files changed, 25 insertions(+), 2 deletions(-)

OK.  The previous step is a good preliminary step to prepare for
this.