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:40:44 +0300
committerTaylor Blau <me@ttaylorr.com>2022-10-07 00:40:44 +0300
commit9cbd2827c5a19d935054cdb162e53e5703be09f4 (patch)
treef7850cda5827aacd30b18b9d9f6494d46d3dc4d6 /transport.c
parent067aa8fb41d09814d26f82515573b067feba87ba (diff)
parentecf9b4a443ecd2c7dc759e5d18f226694bc3eced (diff)
Sync with 2.31.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 6cf3da19eb..99363a422c 100644
--- a/transport.c
+++ b/transport.c
@@ -988,8 +988,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 */