We have several developers where each controls trailing whitespace differently. On an occasion I see commits that have trailing whitespace.
Other than having each person removing their trailing whitespace manually, is there a way to have an automated process in place that does it for everyone and that is least invasive?
This is what I see when I do a git diff
:
I don't want to see the trailing white space when I do git diff