]> git.ipfire.org Git - thirdparty/git.git/blobdiff - resolve-undo.c
block alloc: add lifecycle APIs for cache_entry structs
[thirdparty/git.git] / resolve-undo.c
index 4d4e5cb6bf9c48aa66ec70eee780d2455563d099..c30ae5cf49aab6a3a88060740ffc679ad940c2aa 100644 (file)
@@ -146,7 +146,9 @@ int unmerge_index_entry_at(struct index_state *istate, int pos)
                struct cache_entry *nce;
                if (!ru->mode[i])
                        continue;
-               nce = make_cache_entry(ru->mode[i], &ru->oid[i],
+               nce = make_cache_entry(istate,
+                                      ru->mode[i],
+                                      &ru->oid[i],
                                       name, i + 1, 0);
                if (matched)
                        nce->ce_flags |= CE_MATCHED;