Does not work for me :crying: I voluntary added trailing space to my file. Nothing appears in red. I obtain in white and black<br>     testcooperativelevels_normal();ESC[m<br>ESC[32m+ESC[mESC[32m    testcooperativelevels_normal_other_ddraw();ESC[m<br>
ESC[32m+ESC[mESC[41m    ESC[m<br>ESC[32m+ESC[mESC[41m    ESC[m<br>ESC[32m+ESC[mESC[41m    ESC[m<br>ESC[32m+ESC[mESC[41m    ESC[m<br>ESC[32m+ESC[mESC[41m    ESC[m<br>ESC[32m+ESC[mESC[41m    ESC[m<br>ESC[32m+ESC[mESC[41m    ESC[m<br>
ESC[32m+ESC[mESC[41m    ESC[m<br>ESC[32m+ESC[mESC[41m    ESC[m<br>     releasedirectdraw();ESC[m<br><br>I use kconsole. Maybe it is the problem ??<br><br>Thanks for the advices<br><br>A+<br><br>David<br><br><div class="gmail_quote">
2010/8/30 Octavian Voicu <span dir="ltr">&lt;<a href="mailto:octavian.voicu@gmail.com">octavian.voicu@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Try running:<br>
<br>
git config --global color.ui auto<br>
<br>
This will activate colorful output for all git commands (in particular<br>
for `git diff&#39; too).<br>
<br>
Then, when you run `git diff&#39; from a terminal you will see whitespace<br>
errors (eg. trailing whitespace) highlighted with a red background.<br>
<br>
Hope it helps,<br>
<font color="#888888">Octavian<br>
</font></blockquote></div><br>