fetch: pass through `fetch_config` directly
commitd1adf85b0a21ea6575b145959c53e7d5e4a0cba4
authorPatrick Steinhardt <ps@pks.im>
Wed, 17 May 2023 11:48:51 +0000 (17 13:48 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 May 2023 16:55:33 +0000 (17 09:55 -0700)
treef56700e162118edcbe1eddfe99687ca752883ef5
parent6bc7a37e79876092b42a89156a8c24d0a60bd672
fetch: pass through `fetch_config` directly

The `fetch_config` structure currently only has a single member, which
is the `display_format`. We're about extend it to contain all parsed
config values and will thus need it available in most of the code.

Prepare for this change by passing through the `fetch_config` directly
instead of only passing its single member.

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