From: Alex Riesen Date: Thu, 17 Sep 2020 08:07:32 GMT Subject: Re: [PATCH] config: option transfer.ipversion to set transport protocol version for network fetches Message-ID: <20200917080732.GB8079@pflmari> In-Reply-To: <20200916200203.GA37225@coredump.intra.peff.net> Jeff King, Wed, Sep 16, 2020 22:02:03 +0200: > On Tue, Sep 15, 2020 at 03:54:28PM +0200, Alex Riesen wrote: > > > Jeff King, Tue, Sep 15, 2020 15:05:06 +0200: > > > On Tue, Sep 15, 2020 at 01:50:25PM +0200, Alex Riesen wrote: > > > > Sure! Thinking about it, I actually would have preferred to have both: a > > > > config option and a command-line option. So that I can set --ipv4 in, say, > > > > ~/.config/git/config file, but still have the option to try --ipv6 from time > > > > to time to check if the network setup magically fixed itself. > > > > > > > > What would the preferred name for that config option be? fetch.ipv? > > > > > > It looks like we've got similar options for clone/pull (which are really > > > fetch under the hood of course) and push. We have the "transfer.*" > > > namespace which applies to both already. So maybe "transfer.ipversion" > > > or something? > > > > Something like this? > > That's the right direction, but I think we'd want to make sure it > impacted all of the spots that allow switching. "clone" on the fetching > side, but probably also "push". Ah sorry. Missed that push case.