Hi! Mail I get sometimes has multiple From lines, like this: >From Majordomo@xxxxxxxxxxxxxxx Thu Jul 27 16:39:36 2006 >From mtsirkin Thu Jul 27 16:39:36 2006 Received: from yok.mtl.com [10.0.8.11] .... which confuses git-mailinfo since that does not recognize >From as a valid header line. The following patch makes git-applymbox work for me: --- Recognize >From XXX as a valid header line. Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxxxxxx> diff --git a/builtin-mailinfo.c b/builtin-mailinfo.c index ac53f76..2b6e9fa 100644 --- a/builtin-mailinfo.c +++ b/builtin-mailinfo.c @@ -446,7 +446,7 @@ static int read_one_header_line(char *li 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; } -- MST - : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html