diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2019-06-27 12:28:51 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-06-27 22:45:17 +0300 |
commit | 90d3405196cfe5d3c63185a33dcee57fb6ea7e8a (patch) | |
tree | 29d7599bc8c7f952fd31214d59b9b30c5ee82857 /t/helper | |
parent | 0dd1f0c3a60161db7908472eff43e948711ce9bd (diff) |
match-trees.c: remove the_repo from shift_tree*()
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper')
-rw-r--r-- | t/helper/test-match-trees.c | 2 |
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); |