Re: [PATCH 8/8] diff: improve positioning of add/delete blocks in diffs
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 15, 2016, 20:24 UTC
- Message-ID
- <xmqq60r1hjb2.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <CAGZ79kaMSkRfkBng_Epq+2T_q--VkKQ6-m=M_jPkzeYcxuDKWA@mail.gmail.com>
Stefan Beller <sbeller@google.com> writes:
> Maybe we can enable Michaels heuristic with the same > config/command line flag, i.e. "the flag changes its algorithm"?
I think that is a very sensible proposal. After all, the name diff.compactionHeuristic only tells us what part of the diff process the heuristic is used, and does not say anything about what the heuristics does. It is neutral between "take a blank as a hint" vs "take indentation leveles as a hint".