My comment on whitespace formatting is: when I see (sometimes I don't see this, heh) my commit would mix changes with major code reformat, I stash changes, commit the format update applied by my editor, then stash-pop the actual changes and commit separately (or do a rebase if commit was already materialized).
That helps to figure out what was actually changed in code.