Re: [PATCH] Config option to set the transport protocol version for network fetches
Alex Riesen, Thu, Sep 17, 2020 15:20:47 +0200:
Show 14 quoted lines
> 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.