From: Alex Riesen Date: Thu, 17 Sep 2020 16:05:56 GMT Subject: Re: [PATCH] Config option to set the transport protocol version for network fetches Message-ID: <20200917160556.GH8079@pflmari> In-Reply-To: <20200917132047.GA14771@pflmari> Alex Riesen, Thu, Sep 17, 2020 15:20:47 +0200: > diff --git a/transport.c b/transport.c > index b41386eccb..e16c339f3e 100644 > --- a/transport.c > +++ b/transport.c > @@ -922,6 +922,23 @@ static struct transport_vtable builtin_smart_vtable = { > disconnect_git > }; > > +static enum transport_family default_transport_family(void) > +{ > + static const char key[] = "core.ipversion"; > + const char *v; > + > + if (git_config_get_string_const(key, &v)) Sorry about that. git_config_get_string_tmp, indeed.