summaryrefslogtreecommitdiff
path: root/sequencer.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-12-19 11:33:55 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-12-19 11:33:55 -0800
commit646685460c26d56b149da91544e76150119d9c9b (patch)
tree849f52fe2d1497e9bf6bb57ea4d06f3d0e190be9 /sequencer.c
parentRelNotes: minor typo fixes in 2.16.0 draft (diff)
parentdiffcore-rename: make diff-tree -l0 mean -l<large> (diff)
downloadtgif-646685460c26d56b149da91544e76150119d9c9b.tar.xz
Merge branch 'en/rename-progress'
Historically, the diff machinery for rename detection had a hardcoded limit of 32k paths; this is being lifted to allow users trade cycles with a (possibly) easier to read result. * en/rename-progress: diffcore-rename: make diff-tree -l0 mean -l<large> sequencer: show rename progress during cherry picks diff: remove silent clamp of renameLimit progress: fix progress meters when dealing with lots of work sequencer: warn when internal merge may be suboptimal due to renameLimit
Diffstat (limited to 'sequencer.c')
-rw-r--r--sequencer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sequencer.c b/sequencer.c
index e90bc316bb..c8cb20c1eb 100644
--- a/sequencer.c
+++ b/sequencer.c
@@ -449,6 +449,7 @@ static int do_recursive_merge(struct commit *base, struct commit *next,
o.branch2 = next ? next_label : "(empty tree)";
if (is_rebase_i(opts))
o.buffer_output = 2;
+ o.show_rename_progress = 1;
head_tree = parse_tree_indirect(head);
next_tree = next ? next->tree : empty_tree();
@@ -463,6 +464,7 @@ static int do_recursive_merge(struct commit *base, struct commit *next,
if (is_rebase_i(opts) && clean <= 0)
fputs(o.obuf.buf, stdout);
strbuf_release(&o.obuf);
+ diff_warn_rename_limit("merge.renamelimit", o.needed_rename_limit, 0);
if (clean < 0)
return clean;