The style of my project does say to trim trailing whitespace, but this makes diffs very, very messy. I like to consolidate them to one commit before I commit the actual fix.
This is closely related to Add only non-whitespace changes, but it is asking the exact opposite:
Is there a way to add only the whitespace changes to the staging area?