Skip to content

Commit dcf4286

Browse files
pcloudsgitster
authored andcommitted
tree-diff.c: remove implicit dependency on the_index
Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 174d131 commit dcf4286

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tree-diff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ static void try_to_follow_renames(const struct object_id *old_oid,
605605
choice = q->queue[0];
606606
q->nr = 0;
607607

608-
repo_diff_setup(the_repository, &diff_opts);
608+
repo_diff_setup(opt->repo, &diff_opts);
609609
diff_opts.flags.recursive = 1;
610610
diff_opts.flags.find_copies_harder = 1;
611611
diff_opts.output_format = DIFF_FORMAT_NO_OUTPUT;

0 commit comments

Comments
 (0)