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:55 +0300
committerTaylor Blau <me@ttaylorr.com>2022-10-07 00:42:55 +0300
commit478a426f14b92cef92fc09df442b356a53f6fa8f (patch)
tree1f2dcc827b46b148cc2305f48f35bb233d437fa7 /transport.c
parentf2eed22852b0a21556f0c9f56732913eba553e62 (diff)
parent7800e1dccf622ba8d490b4c1c92af734be6242ff (diff)
Sync with 2.33.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 e4f1decae2..050c143a8d 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 */