Git 1.7.8.1
[gitweb.git] / tree-walk.c
index 4a03e9bd2136d1b991355622fa71983d07125460..f82dba6a1f43bf2a259952a4fd6db94d6335deb7 100644 (file)
@@ -626,7 +626,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;
 
@@ -642,7 +642,7 @@ enum interesting tree_entry_interesting(const struct name_entry *entry,
                }
 
 match_wildcards:
-               if (!ps->items[i].use_wildcard)
+               if (!item->use_wildcard)
                        continue;
 
                /*