diff options
author | Taylor Blau <me@ttaylorr.com> | 2022-10-06 23:40:44 +0200 |
---|---|---|
committer | Taylor Blau <me@ttaylorr.com> | 2022-10-06 23:40:44 +0200 |
commit | 9cbd2827c5a19d935054cdb162e53e5703be09f4 (patch) | |
tree | f7850cda5827aacd30b18b9d9f6494d46d3dc4d6 /transport.c | |
parent | t2080: prepare for changing protocol.file.allow (diff) | |
parent | Git 2.31.5 (diff) | |
download | git-9cbd2827c5a19d935054cdb162e53e5703be09f4.tar.xz git-9cbd2827c5a19d935054cdb162e53e5703be09f4.zip |
Sync with 2.31.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 6cf3da19eb..99363a422c 100644 --- a/transport.c +++ b/transport.c @@ -988,8 +988,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 */ |