[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] checkpatch: Don't WARN about missing spaces in
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] [PATCH] checkpatch: Don't WARN about missing spaces in audio files |
Date: |
Sat, 18 Feb 2012 09:13:54 +0000 |
On Fri, Feb 17, 2012 at 15:26, Anthony Liguori <address@hidden> wrote:
> On 02/17/2012 08:55 AM, Markus Armbruster wrote:
>>
>> Anthony Liguori<address@hidden> writes:
>>
>>> I really hate having these discussions. I would almost rather we just
>>> pay the one-time cost of re-indenting so we can stop debating about
>>> this.
>>>
>>> For folks that feel strongly about this, please submit the following:
>>>
>>> An indent command that takes the tree to CODING_STYLE along with a
>>> diffstat of the end result.
>>>
>>> Depending on how bad the diffstat is, we can consider doing this and
>>> ending this set of arguments once and for all.
>>
>>
>> The only justification for an idiosyncratic coding style I can buy is
>> minimizing reindentation of old code.
>
>
> Well this was what I was getting at in my previous comments. If we just
> need to reindent < 10 files with a few random changes here and there, then
> maybe that isn't so bad.
>
> But if we have to touch every single file in the tree in a significant way,
> then no way is it justified.
One way to handle this is gradual reformatting, every time when code
is touched, only changes towards common CODING_STYLE are allowed.
Small, contained reformatting patches should be also allowed, for
example to adjust brace style in one file a time or to remove spaces
at the end of line.
>> If we reindent anyway, reindent
>> to something that isn't specific to the QEMU island, please.
>
>
> I don't even want to consider something that touches every line of code.
> That's effectively creating a new source tree and losing the continuity of
> our SCM history.
I think only 'git blame' output would be affected and that is not 100%
reliable anyway, considering for example code movement.
> Regards,
>
> Anthony Liguori
>
>
- [Qemu-devel] [PATCH] checkpatch: Don't WARN about missing spaces in audio files, Andreas Färber, 2012/02/09
- Re: [Qemu-devel] [PATCH] checkpatch: Don't WARN about missing spaces in audio files, Andreas Färber, 2012/02/09
- Re: [Qemu-devel] [PATCH] checkpatch: Don't WARN about missing spaces in audio files, malc, 2012/02/09
- Re: [Qemu-devel] [PATCH] checkpatch: Don't WARN about missing spaces in audio files, Evgeny Voevodin, 2012/02/09
- Re: [Qemu-devel] [PATCH] checkpatch: Don't WARN about missing spaces in audio files, malc, 2012/02/09
- Re: [Qemu-devel] [PATCH] checkpatch: Don't WARN about missing spaces in audio files, Anthony Liguori, 2012/02/10
- Re: [Qemu-devel] [PATCH] checkpatch: Don't WARN about missing spaces in audio files, Blue Swirl, 2012/02/11
- Re: [Qemu-devel] [PATCH] checkpatch: Don't WARN about missing spaces in audio files, Anthony Liguori, 2012/02/17
- Re: [Qemu-devel] [PATCH] checkpatch: Don't WARN about missing spaces in audio files, Markus Armbruster, 2012/02/17
- Re: [Qemu-devel] [PATCH] checkpatch: Don't WARN about missing spaces in audio files, Anthony Liguori, 2012/02/17
- Re: [Qemu-devel] [PATCH] checkpatch: Don't WARN about missing spaces in audio files,
Blue Swirl <=
- Re: [Qemu-devel] [PATCH] checkpatch: Don't WARN about missing spaces in audio files, Stefan Weil, 2012/02/18
- Re: [Qemu-devel] [PATCH] checkpatch: Don't WARN about missing spaces in audio files, Anthony Liguori, 2012/02/18
- Re: [Qemu-devel] [PATCH] checkpatch: Don't WARN about missing spaces in audio files, Blue Swirl, 2012/02/18
- Re: [Qemu-devel] [PATCH] checkpatch: Don't WARN about missing spaces in audio files, Andreas Färber, 2012/02/18
- Re: [Qemu-devel] [PATCH] checkpatch: Don't WARN about missing spaces in audio files, Eric Blake, 2012/02/18
- Re: [Qemu-devel] [PATCH] checkpatch: Don't WARN about missing spaces in audio files, Blue Swirl, 2012/02/18
- [Qemu-devel] [PATCH] astyle: Formatting rules for QEMU, Stefan Weil, 2012/02/18
- Re: [Qemu-devel] [PATCH] astyle: Formatting rules for QEMU, Blue Swirl, 2012/02/18
- Re: [Qemu-devel] [PATCH] astyle: Formatting rules for QEMU, Stefan Weil, 2012/02/18
Re: [Qemu-devel] [PATCH] checkpatch: Don't WARN about missing spaces in audio files, Blue Swirl, 2012/02/11