diff --git a/scalar.c b/scalar.c index 14a0b08e84c3ae..1e97538979155a 100644 --- a/scalar.c +++ b/scalar.c @@ -467,7 +467,8 @@ static int supports_gvfs_protocol(const char *url, char **cache_server_url) return 0; cp.git_cmd = 1; - strvec_pushl(&cp.args, "gvfs-helper", "--remote", url, "config", NULL); + strvec_pushl(&cp.args, "-c", "http.version=HTTP/1.1", + "gvfs-helper", "--remote", url, "config", NULL); if (!pipe_command(&cp, NULL, 0, &out, 512, NULL, 0)) { long l = 0; struct json_iterator it =