]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/fetch.c
fetch: pass --ipv4 and --ipv6 options to sub-fetches
authorAlex Riesen <alexander.riesen@cetitec.com>
Tue, 15 Sep 2020 11:54:07 +0000 (13:54 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Sep 2020 21:15:05 +0000 (14:15 -0700)
commit4e735c13267e65f8c37fc3e7dfaacb36e5d51ab8
tree341a2ea267fae461271f17cd8d5ab09e5d0e2542
parent47ae905ffb98cc4d4fd90083da6bc8dab55d9ecc
fetch: pass --ipv4 and --ipv6 options to sub-fetches

The options indicate user intent for the whole fetch operation, and
ignoring them in sub-fetches (i.e. "--all" and recursive fetching of
submodules) is quite unexpected when, for instance, it is intended
to limit all of the communication to a specific transport protocol
for some reason.

Signed-off-by: Alex Riesen <alexander.riesen@cetitec.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch.c