Your comments

I'd like to add my support for this feature. Only removing trailing whitespace for modified lines would make it much easier to collaborate with team members that don't strip trailing whitespace. (Otherwise diffs are full of annoying whitespace changes.)