Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2022-10-07 00:43:37 +0300
committerTaylor Blau <me@ttaylorr.com>2022-10-07 00:43:37 +0300
commitac8a1db86793292dfc7055eeef2fe90459e771aa (patch)
treeb2bfe2c51a837c8efb73b7b52c749d9127e6b646 /transport.c
parentef374dd9b8eecaf84458677865732b89948c19be (diff)
parentbe85cfc4dbef9ffa177770f8607fd4a85445565e (diff)
Sync with 2.34.5
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'transport.c')
-rw-r--r--transport.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/transport.c b/transport.c
index 2a3e324154..fba1aecde0 100644
--- a/transport.c
+++ b/transport.c
@@ -995,8 +995,7 @@ static enum protocol_allow_config get_protocol_config(const char *type)
if (!strcmp(type, "http") ||
!strcmp(type, "https") ||
!strcmp(type, "git") ||
- !strcmp(type, "ssh") ||
- !strcmp(type, "file"))
+ !strcmp(type, "ssh"))
return PROTOCOL_ALLOW_ALWAYS;
/* known scary; err on the side of caution */