Re: [PATCH/RFC 2/4] contrib: contacts: add support for multiple patches

2013-07-02 Thread Eric Sunshine
On Mon, Jul 1, 2013 at 2:50 PM, Junio C Hamano wrote: > Eric Sunshine writes: > >> Accept multiple patch files rather than only one. For example: >> >> % git contacts feature/*.patch >> >> Signed-off-by: Eric Sunshine > >> @@ -93,6 +96,7 @@ sub commits_from_patch { >> while (<$f>) { >>

Re: [PATCH/RFC 2/4] contrib: contacts: add support for multiple patches

2013-07-01 Thread Junio C Hamano
Junio C Hamano writes: > while (<$f>) { > if (/^From ([0-9a-f]{40}) Mon Sep 17 00:00:00 2001$/) { > # beginning of a patch > $id = $1; > } > next if (!defined $id); > # inline the body of s

Re: [PATCH/RFC 2/4] contrib: contacts: add support for multiple patches

2013-07-01 Thread Junio C Hamano
Eric Sunshine writes: > Accept multiple patch files rather than only one. For example: > > % git contacts feature/*.patch > > Signed-off-by: Eric Sunshine > @@ -93,6 +96,7 @@ sub commits_from_patch { > while (<$f>) { > if (/^From ($id_rx) /o) { > $id