Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
preload-index.c: use the right index instead of the_index
[gitweb.git]
/
resolve-undo.c
diff --git
a/resolve-undo.c
b/resolve-undo.c
index c30ae5cf49aab6a3a88060740ffc679ad940c2aa..d2e2d22b7fb6a087eced2320fbd766bfc8ea1efc 100644
(file)
--- a/
resolve-undo.c
+++ b/
resolve-undo.c
@@
-188,7
+188,7
@@
void unmerge_index(struct index_state *istate, const struct pathspec *pathspec)
for (i = 0; i < istate->cache_nr; i++) {
const struct cache_entry *ce = istate->cache[i];
- if (!ce_path_match(ce, pathspec, NULL))
+ if (!ce_path_match(
&the_index,
ce, pathspec, NULL))
continue;
i = unmerge_index_entry_at(istate, i);
}