Re: git and trailing whitespace



On Tue, May 5, 2009 at 5:06 PM, Behdad Esfahbod <behdad behdad org> wrote:
> I personally always do a "git diff" before commit, and look for
> red-background blocks that represent trailing whitespace and fix them
> myself.

Have your gnome terminal/bash preferences been tweaked?  I did a test
with git diff after adding some trailing white space and it didn't
show up in red.  It looked like normal terminal text.

Cheers,

Adam


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]