Re: git and trailing whitespace



Le mardi 05 mai 2009, à 23:00 +0200, Lennart Poettering a écrit :
> Heya!
> 
> Trailing whitespace sucks. git is only half as much fun when people
> have trailing whitespace in their code. diffs get cluttered up by
> changes that actually aren't changes. 
> 
> Many other project these days enforce pretty rigid whitespace regimes
> and I wonder if that would be something to enforce globally on
> git.gnome.org, too?
> 
> This is not a question of coding style.  Whatever kind of indenting
> you choose, trailing whitespace cleanliness is about making git more
> fun without losing anything.
> 
> Of course, enforcing this is a controversial issue and there are many
> different ways one could implement this:

Are there places where trailing whitespaces are "valid" (ie, we want
them)? Or are the checks only looking at code files?

Vincent

-- 
Les gens heureux ne sont pas pressés.


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