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

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