]> git.ipfire.org Git - thirdparty/git.git/commit
fetch: use `fetch_config` to store "fetch.recurseSubmodules" value
authorPatrick Steinhardt <ps@pks.im>
Wed, 17 May 2023 11:49:08 +0000 (13:49 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 May 2023 16:55:33 +0000 (09:55 -0700)
commit56e8bb4fb4705e819e9733eabf4dadbbffca9e88
tree3011ad6cba36facae5e28f8f60b6c88b2f9266ed
parentba28b2ca5dcefb54689d0c442999b74af619f898
fetch: use `fetch_config` to store "fetch.recurseSubmodules" value

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