Try running:

git config --global color.ui auto

This will activate colorful output for all git commands (in particular
for `git diff' too).

Then, when you run `git diff' from a terminal you will see whitespace
errors (eg. trailing whitespace) highlighted with a red background.

Hope it helps,
Octavian


Reply via email to