mirror of
https://github.com/git/git.git
synced 2024-10-28 12:59:41 +01:00
tree-diff.c: remove implicit dependency on the_index
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:
parent
174d131fc9
commit
dcf42869ee
1 changed files with 1 additions and 1 deletions
|
@ -605,7 +605,7 @@ static void try_to_follow_renames(const struct object_id *old_oid,
|
|||
choice = q->queue[0];
|
||||
q->nr = 0;
|
||||
|
||||
repo_diff_setup(the_repository, &diff_opts);
|
||||
repo_diff_setup(opt->repo, &diff_opts);
|
||||
diff_opts.flags.recursive = 1;
|
||||
diff_opts.flags.find_copies_harder = 1;
|
||||
diff_opts.output_format = DIFF_FORMAT_NO_OUTPUT;
|
||||
|
|
Loading…
Reference in a new issue