linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jan Tulak <jtulak@redhat.com>
To: "Chinner, Dave" <david@fromorbit.com>
Cc: linux-xfs <linux-xfs@vger.kernel.org>
Subject: Re: [PATCH 0/2] xfsdump whitespace changes
Date: Mon, 5 Nov 2018 11:17:55 +0100	[thread overview]
Message-ID: <CACj3i70K9sJMqtToJ8skVKWBopBiomSBA3ch9c_Azs6tPYfR4g@mail.gmail.com> (raw)
In-Reply-To: <20181102225729.GF19305@dastard>

On Fri, Nov 2, 2018 at 11:57 PM Dave Chinner <david@fromorbit.com> wrote:
>
> On Fri, Nov 02, 2018 at 05:54:59PM +0100, Jan Tulak wrote:
> >
> > Update: I found a reasonably working code prettifier with kernel-style
> > config. The disadvantage is that I'm not really able to split the
> > patches by type of change (indentation, spaces inside of parentheses,
> > vertical align...) and it did it all at once, but hopefully that is
> > not a big issue. You can look at it here [1] - it is 2,4MB in size of
> > the patch files (only the formatting changes) and I want to check it a
> > bit better before sending it here as emails, whether there is no new
> > warning in gcc, etc. But it compiles and passes xfstests, so feel free
> > to peek at it - I will be back online in the Monday.
> >
> > [1] https://github.com/jtulak/xfsdump/tree/for-review  (git clone
> > https://github.com/jtulak/xfsdump.git)
>
> IMO, it's largely unreviewable because not only does whitespace
> change, so does the way the code is laid out.
>
> e.g it removes {} around single line if/for/while, so that could
> introduce bugs if there are multi-expression macros that aren't
> correctly encapsulated (and there are!).

I didn't realize that possibility. Fixing...

>
> And that's really hard to see in amongst all the indenting changes,
> the whitespace removal, etc.  I'd much prefer "one type of
> change at a time" patches because they are much easier to review.

Yeah, I understand. Let's see what I can do... Anyway, thanks for the feedback.

Cheers,
Jan



-- 
Jan Tulak

  reply	other threads:[~2018-11-05 19:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-01 11:01 [PATCH 0/2] xfsdump whitespace changes Jan Tulak
2018-11-01 11:01 ` [PATCH 1/2] xfsdump: remove trailing whitespaces Jan Tulak
2018-11-01 16:46   ` Eric Sandeen
2018-11-02  1:36 ` [PATCH 0/2] xfsdump whitespace changes Dave Chinner
2018-11-02 11:43   ` Jan Tulak
2018-11-02 16:54     ` Jan Tulak
2018-11-02 22:57       ` Dave Chinner
2018-11-05 10:17         ` Jan Tulak [this message]
2018-11-02 22:34     ` Dave Chinner
2018-11-05 10:15       ` Jan Tulak
2018-11-05 11:48         ` Dave Chinner
2018-11-05 12:25           ` Jan Tulak
2018-11-05 21:52             ` Dave Chinner
2018-11-08 17:39               ` Jan Tulak
2018-11-09  1:04                 ` Dave Chinner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACj3i70K9sJMqtToJ8skVKWBopBiomSBA3ch9c_Azs6tPYfR4g@mail.gmail.com \
    --to=jtulak@redhat.com \
    --cc=david@fromorbit.com \
    --cc=linux-xfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).