Does not work for me :crying: I voluntary added trailing space to my file. Nothing appears in red. I obtain in white and black
������������ testcooperativelevels_normal();ESC[m
ESC[32m+ESC[mESC[32m��������� testcooperativelevels_normal_other_ddraw();ESC[m
ESC[32m+ESC[mESC[41m��������� ESC[m
ESC[32m+ESC[mESC[41m��������� ESC[m
ESC[32m+ESC[mESC[41m��������� ESC[m
ESC[32m+ESC[mESC[41m��������� ESC[m
ESC[32m+ESC[mESC[41m��������� ESC[m
ESC[32m+ESC[mESC[41m��������� ESC[m
ESC[32m+ESC[mESC[41m��������� ESC[m
ESC[32m+ESC[mESC[41m��������� ESC[m
ESC[32m+ESC[mESC[41m��������� ESC[m
������������ releasedirectdraw();ESC[m
I use kconsole. Maybe it is the problem ??
Thanks for the advices
A+
David
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