diff options
author | Taylor Blau <me@ttaylorr.com> | 2022-10-06 17:39:15 -0400 |
---|---|---|
committer | Taylor Blau <me@ttaylorr.com> | 2022-10-06 17:39:15 -0400 |
commit | 122512967e6184b1888a63ea2b6ed9ada3046b28 (patch) | |
tree | 91a2c08868d550b5ce21efd7176c4d2d634bc44f /transport.c | |
parent | 5b1c746c352e85211770e5cbd26a433b3affd3b4 (diff) | |
parent | abd4d67ab0f84fff703fa14d9eebfd287b42daeb (diff) | |
download | git-122512967e6184b1888a63ea2b6ed9ada3046b28.tar.gz |
Sync with 2.30.6
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 1c4ab676d1..f357ffc06c 100644 --- a/transport.c +++ b/transport.c @@ -964,8 +964,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 */ |