From: Giuseppe Bilotta Date: Tue, 14 Jul 2009 07:16:24 GMT Subject: Re: [PATCH] git-am: less strong format "mbox" detection Message-ID: In-Reply-To: On Tue, Jul 14, 2009 at 8:40 AM, Nicolas Sebrecht wrote: > Thunderbird (v1.* at least) likes to start e-mails with "X-Account-Key:". > Also, I have some emails starting with "Return-Path:" or ""Delivered-To:". > > Signed-off-by: Nicolas Sebrecht > --- >  git-am.sh |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/git-am.sh b/git-am.sh > index d64d997..d10a8e0 100755 > --- a/git-am.sh > +++ b/git-am.sh > @@ -169,7 +169,7 @@ check_patch_format () { >                read l2 >                read l3 >                case "$l1" in > -               "From "* | "From: "*) > +               "From "* | "From: "* | "X-Account-Key:"* | "Return-Path:"* | "Delivered-To:"*) Nitpick: for consistency, should we either expect a space after the colon also in the new keys, or not expect i in the From: key either. I don't think the RFC requires a space, but most clients probably add it. -- Giuseppe "Oblomov" Bilotta