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:48:57 +0300
committerTaylor Blau <me@ttaylorr.com>2022-10-07 02:58:16 +0300
commitf2798aa404c32a7ba4a10c1e8657dcacff5188db (patch)
tree87d322406df8ad787cd75ba15a61e9482dbab64c /transport.c
parent9a167cb7860d7ae7cd5685434d0194c934800128 (diff)
parentfcdaa211e6127eeba69a121844e08aec67da2131 (diff)
Sync with 2.36.3
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 b51e991e44..700e4ca23a 100644
--- a/transport.c
+++ b/transport.c
@@ -1006,8 +1006,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 */