diff options
Diffstat (limited to 't/helper/test-match-trees.c')
-rw-r--r-- | t/helper/test-match-trees.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/helper/test-match-trees.c b/t/helper/test-match-trees.c index 96857f26ac..4079fdee06 100644 --- a/t/helper/test-match-trees.c +++ b/t/helper/test-match-trees.c @@ -20,8 +20,8 @@ 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); + return 0; } |