log and diff family: honor config even from subdirectories
[gitweb.git] / builtin-mailinfo.c
index ac53f76f689fdc0a44b6e4921dc08b880e1349b0..05dc1bfe71976ed24a4bb8cafb0036b8f93fadd6 100644 (file)
@@ -446,7 +446,7 @@ static int read_one_header_line(char *line, int sz, FILE *in)
                        break;
        }
        /* Count mbox From headers as headers */
-       if (!ofs && !memcmp(line, "From ", 5))
+       if (!ofs && (!memcmp(line, "From ", 5) || !memcmp(line, ">From ", 6)))
                ofs = 1;
        return ofs;
 }