mirror of
https://github.com/git/git.git
synced 2024-11-24 02:17:02 +08:00
Merge branch 'ar/fetch-ipversion-in-all'
"git fetch --all --ipv4/--ipv6" forgot to pass the protocol options to instances of the "git fetch" that talk to individual remotes, which has been corrected. * ar/fetch-ipversion-in-all: fetch: pass --ipv4 and --ipv6 options to sub-fetches
This commit is contained in:
commit
6854689e65
@ -1552,7 +1552,10 @@ static void add_options_to_argv(struct strvec *argv)
|
||||
strvec_push(argv, "-v");
|
||||
else if (verbosity < 0)
|
||||
strvec_push(argv, "-q");
|
||||
|
||||
if (family == TRANSPORT_FAMILY_IPV4)
|
||||
strvec_push(argv, "--ipv4");
|
||||
else if (family == TRANSPORT_FAMILY_IPV6)
|
||||
strvec_push(argv, "--ipv6");
|
||||
}
|
||||
|
||||
/* Fetch multiple remotes in parallel */
|
||||
|
Loading…
Reference in New Issue
Block a user