Re: [PATCH 3/3] Convert all fnmatch() calls to wildmatch()

2012-12-20 Thread Nguyen Thai Ngoc Duy
On Thu, Dec 20, 2012 at 1:36 AM, Junio C Hamano wrote: >> @@ -627,7 +628,7 @@ enum interesting tree_entry_interesting(const struct >> name_entry *entry, >> return entry_interesting; >> >> if (item->use_wildcard) { >> -

Re: [PATCH 3/3] Convert all fnmatch() calls to wildmatch()

2012-12-19 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > diff --git a/tree-walk.c b/tree-walk.c > index 492c7cd..c729e89 100644 > --- a/tree-walk.c > +++ b/tree-walk.c > @@ -3,6 +3,7 @@ > #include "unpack-trees.h" > #include "dir.h" > #include "tree.h" > +#include "wildmatch.h" > > static const char *get_mode(const

[PATCH 3/3] Convert all fnmatch() calls to wildmatch()

2012-12-19 Thread Nguyễn Thái Ngọc Duy
Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/apply.c| 3 ++- builtin/branch.c | 3 ++- builtin/describe.c | 3 ++- builtin/for-each-ref.c | 3 ++- builtin/ls-remote.c| 3 ++- builtin/name-rev.c | 3 ++- builtin/reflog.c | 3 ++- builtin/replace.c | 3 ++-