]> git.ipfire.org Git - thirdparty/git.git/blobdiff - transport.c
Merge branch 'maint-2.35' into maint-2.36
[thirdparty/git.git] / transport.c
index 3d64a43ab394b1861fee34b465f0cfb973bfe5fb..d514ab9508677f108c83f938d9512b64cac0230c 100644 (file)
@@ -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 */