fetch: use `fetch_config` to store "submodule.fetchJobs" value
commitf7e063f3269ef29013db87190d1b4e152b505c3a
authorPatrick Steinhardt <ps@pks.im>
Wed, 17 May 2023 11:49:17 +0000 (17 13:49 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 May 2023 16:55:33 +0000 (17 09:55 -0700)
tree5e32d3ce327f611b4ff5f16fb81f73047519a6d2
parentac197cc094e1d39fa32eb935825cdfcd8c6bd79f
fetch: use `fetch_config` to store "submodule.fetchJobs" value

Move the parsed "submodule.fetchJobs" config value into the
`fetch_config` structure. This reduces our reliance on global variables
and further unifies the way we parse the configuration in git-fetch(1).

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch.c