Re: [PATCH] config: option transfer.ipversion to set transport protocol version for network fetches
- From
Alex Riesen <alexander.riesen@cetitec.com>
- Date
- Sep 17, 2020, 08:04 UTC
- Message-ID
- <20200917080418.GA8079@pflmari>
- In-Reply-To
- <xmqqtuvxwkbz.fsf@gitster.c.googlers.com>
Junio C Hamano, Wed, Sep 16, 2020 22:14:08 +0200:
Show 14 quoted lines
> How about introducing a new command line option
>
> --transfer-protocol-family=("any"|<protocol>)
>
> where <protocol> is either "ipv4" or "ipv6" [*1*], and make existing
> "--ipv4" a synonym for "--transfer-protocol-family=ipv4" and "--ipv6"
> for "--transfer-protocol-family=ipv6"
>
> With such an extended command line override, we can override
> configured
>
> [transfer]
> ipversion = 6
> So the config option starts looking like "transfer.protocols" and multi-value? With the command-line option named "--transfer-protocol=", allowing multiple specification, and with "any" value taking precedence if specified anywhere?