diff options
author | Taylor Blau <me@ttaylorr.com> | 2022-10-07 00:42:55 +0300 |
---|---|---|
committer | Taylor Blau <me@ttaylorr.com> | 2022-10-07 00:42:55 +0300 |
commit | 478a426f14b92cef92fc09df442b356a53f6fa8f (patch) | |
tree | 1f2dcc827b46b148cc2305f48f35bb233d437fa7 /transport.c | |
parent | f2eed22852b0a21556f0c9f56732913eba553e62 (diff) | |
parent | 7800e1dccf622ba8d490b4c1c92af734be6242ff (diff) |
Sync with 2.33.5
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 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 */ |