git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
174d131
)
tree-diff.c: remove implicit dependency on the_index
author
Nguyễn Thái Ngọc Duy
<redacted>
Fri, 21 Sep 2018 15:57:36 +0000
(17:57 +0200)
committer
Junio C Hamano
<redacted>
Fri, 21 Sep 2018 16:51:18 +0000
(09:51 -0700)
Signed-off-by: Nguyễn Thái Ngọc Duy <redacted>
Signed-off-by: Junio C Hamano <redacted>
tree-diff.c
patch
|
blob
|
history
diff --git
a/tree-diff.c
b/tree-diff.c
index 57a15f51f0e13e711ad7d92a0fc04ce5d53d3336..16b28ff6d6d4b678c6e4659d4e81b1bcf7f00ad9 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;
git clone https://git.99rst.org/PROJECT