Re: git and trailing whitespace
- From: Vincent Untz <vuntz gnome org>
- To: desktop-devel-list gnome org
- Subject: Re: git and trailing whitespace
- Date: Wed, 6 May 2009 00:01:54 +0200
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]