summaryrefslogtreecommitdiff
path: root/t/helper/test-match-trees.c
diff options
context:
space:
mode:
Diffstat (limited to 't/helper/test-match-trees.c')
-rw-r--r--t/helper/test-match-trees.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-match-trees.c b/t/helper/test-match-trees.c
index 96857f26ac..b9fd427571 100644
--- a/t/helper/test-match-trees.c
+++ b/t/helper/test-match-trees.c
@@ -20,7 +20,7 @@ int cmd__match_trees(int ac, const char **av)
if (!two)
die("not a tree-ish %s", av[2]);
- shift_tree(&one->object.oid, &two->object.oid, &shifted, -1);
+ shift_tree(the_repository, &one->object.oid, &two->object.oid, &shifted, -1);
printf("shifted: %s\n", oid_to_hex(&shifted));
exit(0);