diff options
author | Taylor Blau <me@ttaylorr.com> | 2022-10-07 00:44:44 +0300 |
---|---|---|
committer | Taylor Blau <me@ttaylorr.com> | 2022-10-07 00:44:44 +0300 |
commit | 58612f82b660e3378c73f0698d11b0f1fef741da (patch) | |
tree | a5b2b30e15db36ab7df7eb02785f3badd6c69f12 /transport.c | |
parent | 8a7bfa0fd3af2d39be1a808774005c78575908d1 (diff) | |
parent | 868154bb1c08a547afaf74ed8bafdf9bf55d1fd5 (diff) |
Sync with 2.35.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 3d64a43ab3..d514ab9508 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 */ |