From: Giuseppe Bilotta Date: Wed, 27 May 2009 08:19:41 GMT Subject: Re: [PATCHv2 2/4] git-am foreign patch support: autodetect some patch formats Message-ID: In-Reply-To: <7vd49vj9mb.fsf@alter.siamese.dyndns.org> On Wed, May 27, 2009 at 9:19 AM, Junio C Hamano wrote: > Don't make the case unnecessary too deep nor redundant. > >        ... >        read l3 >        case "$l1" in >        "From "* | "From: "* ) >                patch_format=mbox >                ;; Oh thanks. I think I had tried the construct this way but failed to make * and | work together. Looks like I was doing it wrong. -- Giuseppe "Oblomov" Bilotta