projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d688cf0
)
tree_entry_interesting: make use of local pointer "item"
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Mon, 24 Oct 2011 06:36:12 +0000
(17:36 +1100)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 27 Oct 2011 18:38:24 +0000
(11:38 -0700)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
tree-walk.c
patch
|
blob
|
history
diff --git
a/tree-walk.c
b/tree-walk.c
index 4a03e9bd2136d1b991355622fa71983d07125460..f82dba6a1f43bf2a259952a4fd6db94d6335deb7 100644
(file)
--- a/
tree-walk.c
+++ b/
tree-walk.c
@@
-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;
/*