]> git.ipfire.org Git - thirdparty/git.git/blobdiff - transport.c
Sync with 2.31.5
[thirdparty/git.git] / transport.c
index 6cf3da19ebd26f7c641000ca1011ce437873319f..99363a422c3900b42b89d1f503c8eed4bc9791fd 100644 (file)
@@ -988,8 +988,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 */