From: Alex Riesen Date: Thu, 17 Sep 2020 08:04:18 GMT Subject: Re: [PATCH] config: option transfer.ipversion to set transport protocol version for network fetches Message-ID: <20200917080418.GA8079@pflmari> In-Reply-To: Junio C Hamano, Wed, Sep 16, 2020 22:14:08 +0200: > How about introducing a new command line option > > --transfer-protocol-family=("any"|) > > where 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?