Re: diff --break-rewrites for just a part of a file

2016-05-10 Thread Junio C Hamano
Sascha Silbe writes: > A combination of --break-rewrites and --inter-hunk-context that merges > changes with less than the given number of unchanged lines between them > into a single delete/insert change would be even better. But just > ignoring the unchanged header and footer of a file for --br

diff --break-rewrites for just a part of a file

2016-05-10 Thread Sascha Silbe
Hello, the other day I was reviewing a patch that replaced a large chunk in a Makefile with completely different logic. No matter what diff algorithm and options I threw at it, the diff would always synchronise at the empty lines between individual targets and thus show the rewrite of a larger sec