aboutsummaryrefslogtreecommitdiff
path: root/t/helper/test-cache-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 't/helper/test-cache-tree.c')
-rw-r--r--t/helper/test-cache-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-cache-tree.c b/t/helper/test-cache-tree.c
index 3ae45cec3b..ff61d0ca7e 100644
--- a/t/helper/test-cache-tree.c
+++ b/t/helper/test-cache-tree.c
@@ -41,7 +41,7 @@ int cmd__cache_tree(int argc, const char **argv)
die(_("unable to read index file"));
oidcpy(&oid, &the_repository->index->cache_tree->oid);
- tree = parse_tree_indirect(&oid);
+ tree = repo_parse_tree_indirect(the_repository, &oid);
if (!tree)
die(_("not a tree object: %s"), oid_to_hex(&oid));