Re: [PATCHv2 2/4] git-am foreign patch support: autodetect some patch formats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 27, 2009 at 9:19 AM, Junio C Hamano <gitster@xxxxxxxxx> 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
--
To unsubscribe from this list: 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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]