diff options
author | Taylor Blau <me@ttaylorr.com> | 2022-10-06 17:43:37 -0400 |
---|---|---|
committer | Taylor Blau <me@ttaylorr.com> | 2022-10-06 17:43:37 -0400 |
commit | ac8a1db86793292dfc7055eeef2fe90459e771aa (patch) | |
tree | b2bfe2c51a837c8efb73b7b52c749d9127e6b646 /transport.c | |
parent | ef374dd9b8eecaf84458677865732b89948c19be (diff) | |
parent | be85cfc4dbef9ffa177770f8607fd4a85445565e (diff) | |
download | git-ac8a1db86793292dfc7055eeef2fe90459e771aa.tar.gz |
Sync with 2.34.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 2a3e324154..fba1aecde0 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 */ |