[Spice-devel] [PATCH v2 12/13] Add guidelines about warnings and whitespaces

Victor Toso victortoso at redhat.com
Thu Feb 8 10:09:35 UTC 2018


Hi,

On Thu, Feb 08, 2018 at 05:01:05AM -0500, Frediano Ziglio wrote:
> > > Depends on many cases. You don't want spurious changes to make harder to
> > > look at the history for instance (that is a point for Nack).
> > > The patch is not fixing anything or adding new feature (another for Nack).
> > > On the other hand applied to code not changed for a long period (where is
> > > unlikely to have to dig the history) or code with small history (where
> > > is faster to skip in any case) changes.
> > > Being style it depends also on personal opinions.
> > 
> > You can’t have it both ways. Here, you are simultaneously saying:
> > 
> > - We don’t want trailing whitespace
> 
> OT: Not only trailing, also tabs for instance.
> 
> > - We nack patches that fix trailing whitespace on their own
> 
> Not saying that, I'm saying is not black and white.

Because the code itself is inconsistent. It would be so much
better to have a few patches that make the code consistent and
then some git hook to check if given patch does not mess around
the coding style instead of discussing this so many times over
years.

        toso
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20180208/94f07634/attachment.sig>


More information about the Spice-devel mailing list