]> git.ipfire.org Git - thirdparty/git.git/blobdiff - transport.c
Sync with 2.33.5
[thirdparty/git.git] / transport.c
index e4f1decae2063ce8981344c19626141c8bcd866c..050c143a8d76762fcac2ae760ad9592a26606177 100644 (file)
@@ -995,8 +995,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 */