Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@xxxxxxxxx> --- tree-walk.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tree-walk.c b/tree-walk.c index fc03262..2d9d17a 100644 --- a/tree-walk.c +++ b/tree-walk.c @@ -622,7 +622,7 @@ enum interesting tree_entry_interesting(const struct name_entry *entry, &never_interesting)) return entry_interesting; - if (ps->items[i].use_wildcard) { + if (item->use_wildcard) { if (!fnmatch(match + baselen, entry->path, 0)) return entry_interesting; @@ -638,7 +638,7 @@ enum interesting tree_entry_interesting(const struct name_entry *entry, } match_wildcards: - if (!ps->items[i].use_wildcard) + if (!item->use_wildcard) continue; /* -- 1.7.3.1.256.g2539c.dirty -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html