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>
This commit is contained in:

committed by
Junio C Hamano

parent
0dd1f0c3a6
commit
90d3405196
@ -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);
|
||||
|
Reference in New Issue
Block a user