Re: [RFC/PATCH 5/9] ref-filter: add option to match literal pattern

2015-06-30 Thread Karthik Nayak
On Mon, Jun 29, 2015 at 11:50 PM, Junio C Hamano wrote: > Karthik Nayak writes: > >> Since 'ref-filter' only has an option to match path names. > > That is not a whole sentence ;-) > Argh! Noted. >> Add an option for regular pattern matching. > >> Mentored-by: Christian Couder >> Mentored-by:

Re: [RFC/PATCH 5/9] ref-filter: add option to match literal pattern

2015-06-29 Thread Junio C Hamano
Karthik Nayak writes: > Since 'ref-filter' only has an option to match path names. That is not a whole sentence ;-) > Add an option for regular pattern matching. > Mentored-by: Christian Couder > Mentored-by: Matthieu Moy > Signed-off-by: Karthik Nayak > - if (flag & REF_BAD_NAME) { >

Re: [RFC/PATCH 5/9] ref-filter: add option to match literal pattern

2015-06-26 Thread Karthik Nayak
Just a few things I need to fix, personal note. On 06/25/2015 05:13 PM, Karthik Nayak wrote: 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 --- built

[RFC/PATCH 5/9] ref-filter: add option to match literal pattern

2015-06-25 Thread Karthik Nayak
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 | 30 -- ref-filter.