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

Move the parsed "fetch.parallel" 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