diff options
author | Taylor Blau <me@ttaylorr.com> | 2022-10-07 00:48:57 +0300 |
---|---|---|
committer | Taylor Blau <me@ttaylorr.com> | 2022-10-07 02:58:16 +0300 |
commit | f2798aa404c32a7ba4a10c1e8657dcacff5188db (patch) | |
tree | 87d322406df8ad787cd75ba15a61e9482dbab64c /transport.c | |
parent | 9a167cb7860d7ae7cd5685434d0194c934800128 (diff) | |
parent | fcdaa211e6127eeba69a121844e08aec67da2131 (diff) |
Sync with 2.36.3
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'transport.c')
-rw-r--r-- | transport.c | 3 |
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 */ |