Code

mailinfo: accept >From in message header
authorMichael S. Tsirkin <mst@mellanox.co.il>
Thu, 27 Jul 2006 14:03:43 +0000 (17:03 +0300)
committerJunio C Hamano <junkio@cox.net>
Fri, 28 Jul 2006 02:33:06 +0000 (19:33 -0700)
commitc2c487cf3a6c37bc9b4e3f0e10ad08d9ce048404
treeb5e553f77ff8cc198757e3edd5eea167cbea7f38
parentcc41cd2e60da8224dcd04f23d837853cff5d4eda
mailinfo: accept >From in message header

Mail I get sometimes has multiple From lines, like this:

    From Majordomo@vger.kernel.org  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.

This patch makes it recognize >From XXX as a valid header line.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-mailinfo.c