diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2019-06-27 11:28:51 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-06-27 21:45:17 +0200 |
commit | 90d3405196cfe5d3c63185a33dcee57fb6ea7e8a (patch) | |
tree | 29d7599bc8c7f952fd31214d59b9b30c5ee82857 /t | |
parent | tree-walk.c: remove the_repo from get_tree_entry_follow_symlinks() (diff) | |
download | git-90d3405196cfe5d3c63185a33dcee57fb6ea7e8a.tar.xz git-90d3405196cfe5d3c63185a33dcee57fb6ea7e8a.zip |
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')
-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); |