Re: [PATCH] config: option transfer.ipversion to set transport protocol version for network fetches
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 17, 2020, 22:31 UTC
- Message-ID
- <xmqqbli4ox0h.fsf@gitster.c.googlers.com>
- In-Reply-To
- <20200917140254.GA28281@pflmari>
Alex Riesen <alexander.riesen@cetitec.com> writes:
> If the configuration variable is allowed to be set to that "lack of > preference" value, we kind of have a command line option for it: > > git -c transfer.protocolFamily=any fetch ...
Yes.
But we typically do not count that as being able to override from the command line. If "git fetch --ipv4" will defeat the configured "transfer.protoclFamily=ipv6", the users will expect there is some way to do the same and say they accept any protocol family to be used.
Thanks.