]> git.ipfire.org Git - thirdparty/git.git/blobdiff - transport.c
Sync with 2.32.4
[thirdparty/git.git] / transport.c
index 17e9629710a2f8053c2657be91425b1aab840991..eded823627951bd1c6c167b411d13d9f3f7e917a 100644 (file)
@@ -993,8 +993,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 */