Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
apply.c: remove implicit dependency on the_index
[gitweb.git]
/
read-cache.c
diff --git
a/read-cache.c
b/read-cache.c
index 880849fc8ad8454a756ac0849dff288ad8f38eaa..3a930bbcc1af792840e0af9dfe65b94b19faa00c 100644
(file)
--- a/
read-cache.c
+++ b/
read-cache.c
@@
-1493,7
+1493,7
@@
int refresh_index(struct index_state *istate, unsigned int flags,
if (ignore_submodules && S_ISGITLINK(ce->ce_mode))
continue;
- if (pathspec && !ce_path_match(ce, pathspec, seen))
+ if (pathspec && !ce_path_match(
&the_index,
ce, pathspec, seen))
filtered = 1;
if (ce_stage(ce)) {