On Sat, Jul 11, 2015 at 2:56 PM, Matthieu Moy
wrote:
> Karthik Nayak writes:
>
>> On Fri, Jul 10, 2015 at 10:13 PM, Junio C Hamano wrote:
>>> Karthik Nayak writes:
>>>
Since 'ref-filter' only has an option to match path names
add an option for regular pattern matching.
>>>
>>> There i
Karthik Nayak writes:
> On Fri, Jul 10, 2015 at 10:13 PM, Junio C Hamano wrote:
>> Karthik Nayak writes:
>>
>>> Since 'ref-filter' only has an option to match path names
>>> add an option for regular pattern matching.
>>
>> There is nothing "regular" about the pattern matching you are
>> adding
On Fri, Jul 10, 2015 at 10:13 PM, Junio C Hamano wrote:
> Karthik Nayak writes:
>
>> Since 'ref-filter' only has an option to match path names
>> add an option for regular pattern matching.
>
> There is nothing "regular" about the pattern matching you are
> adding.
>
> Everywhere else we use patt
Karthik Nayak writes:
> Since 'ref-filter' only has an option to match path names
> add an option for regular pattern matching.
There is nothing "regular" about the pattern matching you are
adding.
Everywhere else we use patterns on refs we call wildmatch(), which
is an enhanced implementation
On Thu, Jul 9, 2015 at 7:02 PM, Matthieu Moy
wrote:
> Karthik Nayak writes:
>
>> Since 'ref-filter' only has an option to match path names
>> add an option for regular pattern matching.
>
> Here also, a hint on why this is needed would be welcome.
>
Will add.
>> --- a/ref-filter.c
>> +++ b/ref-
Karthik Nayak writes:
> Since 'ref-filter' only has an option to match path names
> add an option for regular pattern matching.
Here also, a hint on why this is needed would be welcome.
> --- a/ref-filter.c
> +++ b/ref-filter.c
> @@ -956,6 +956,20 @@ static int commit_contains(struct ref_filter
Since 'ref-filter' only has an option to match path names
add an option for regular pattern matching.
Mentored-by: Christian Couder
Mentored-by: Matthieu Moy
Signed-off-by: Karthik Nayak
---
builtin/for-each-ref.c | 1 +
ref-filter.c | 25 -
ref-filter.h
7 matches
Mail list logo