Diff is a blunt instrument that don't understand syntax. E.g. https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f5db4b31b31504a1058339bc00488bf56ad1f0aa the line wrapping makes it hard to see what was added.