git diff compaction heuristic
已回答
Git 2.9.0 introduced the so-called "compaction heuristic": https://github.com/git/git/blob/v2.12.2/Documentation/RelNotes/2.9.0.txt#L121-L125
Is there any way to make use of that in the IntelliJ IDEs?
请先登录再写评论。
Do you mean that Diff in IDE shows you incorrect results and you need to enable this option to get correct diff? Could you please share a screenshot showing the issue in the IDE?
It wasn't so much incorrect, rather not as nice as it could have been. Here's a screenshot of Atom showing the behavior that I've seen in PyCharm as well (look at the indicator line next to the line numbers):
Meanwhile I updated PyCharm to version 2017.1.2 and I haven't seen it happening there.