diff options
| author | Taylor Blau <me@ttaylorr.com> | 2022-10-06 20:00:04 -0400 |
|---|---|---|
| committer | Taylor Blau <me@ttaylorr.com> | 2022-10-06 20:00:04 -0400 |
| commit | f64d4ca8d65bdca39da444d24bde94864ac01bb1 (patch) | |
| tree | edc9055c3dc8e378474c951ad6a3513deaa777d0 /transport.c | |
| parent | Git 2.38 (diff) | |
| parent | Git 2.37.4 (diff) | |
| download | git-f64d4ca8d65bdca39da444d24bde94864ac01bb1.tar.gz git-f64d4ca8d65bdca39da444d24bde94864ac01bb1.zip | |
Sync with 2.37.4
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 f78e29058f..70e9c188a3 100644 --- a/transport.c +++ b/transport.c @@ -1009,8 +1009,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 */ |
