My Various Git Projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
174d131
)
tree-diff.c: remove implicit dependency on the_index
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Fri, 21 Sep 2018 15:57:36 +0000
(17:57 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 21 Sep 2018 16:51:18 +0000
(09:51 -0700)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
tree-diff.c
patch
|
blob
|
history
diff --git
a/tree-diff.c
b/tree-diff.c
index
57a15f5
..
16b28ff
100644
(file)
--- a/
tree-diff.c
+++ b/
tree-diff.c
@@
-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;