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:42:02 +0300
committerTaylor Blau <me@ttaylorr.com>2022-10-07 00:42:02 +0300
commit3957f3c84e89c68e8bf3f7cb172ba6837af70506 (patch)
treed6dd7331dcd0049d54476275a3707d6637851aaa /transport.c
parent80c525c4acaf6072697d4bd2a3a5137f91665b55 (diff)
parentaf778cd9be6307e34f9f900fd42eb826c65b32da (diff)
Sync with 2.32.4
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 17e9629710..eded823627 100644
--- a/transport.c
+++ b/transport.c
@@ -993,8 +993,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 */