Re: [PATCH 2/5] name-rev: extend --refs to accept multiple patterns

2017-01-12 Thread Jacob Keller
On Thu, Jan 12, 2017 at 1:56 AM, Johannes Schindelin wrote: > Hi Jake, > > On Wed, 11 Jan 2017, Jacob Keller wrote: > >> diff --git a/t/t6007-rev-list-cherry-pick-file.sh >> b/t/t6007-rev-list-cherry-pick-file.sh >> index 1408b608eb03..d072ec43b016 100755 >> --- a/t/t6007-rev-list-cherry-pick-fil

Re: [PATCH 2/5] name-rev: extend --refs to accept multiple patterns

2017-01-12 Thread Johannes Schindelin
Hi Jake, On Wed, 11 Jan 2017, Jacob Keller wrote: > diff --git a/t/t6007-rev-list-cherry-pick-file.sh > b/t/t6007-rev-list-cherry-pick-file.sh > index 1408b608eb03..d072ec43b016 100755 > --- a/t/t6007-rev-list-cherry-pick-file.sh > +++ b/t/t6007-rev-list-cherry-pick-file.sh > @@ -99,6 +99,36 @@

[PATCH 2/5] name-rev: extend --refs to accept multiple patterns

2017-01-11 Thread Jacob Keller
From: Jacob Keller Teach git name-rev to take a string list of patterns from --refs instead of only a single pattern. The list of patterns will be matched inclusively, such that a ref only needs to match one pattern to be included. If a ref will only be excluded if it does not match any of the pa