Merge branch 'sd/stash-wo-user-name'
[gitweb.git] / unpack-trees.c
index 7570df481bf69824e4b163a6c7a15985b72d1326..6d53cbfc865096ea41028c0601aa12d6eeb8a145 100644 (file)
@@ -1630,7 +1630,7 @@ int unpack_trees(unsigned len, struct tree_desc *t, struct unpack_trees_options
                move_index_extensions(&o->result, o->src_index);
                if (!ret) {
                        if (git_env_bool("GIT_TEST_CHECK_CACHE_TREE", 0))
-                               cache_tree_verify(&o->result);
+                               cache_tree_verify(the_repository, &o->result);
                        if (!o->result.cache_tree)
                                o->result.cache_tree = cache_tree();
                        if (!cache_tree_fully_valid(o->result.cache_tree))