Re: [PATCH 0/2] xfsdump whitespace changes

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

 



On Thu, Nov 01, 2018 at 12:01:28PM +0100, Jan Tulak wrote:
> (I'm splitting the previous set into smaller ones, so changes doesn't
>  have to wait.)
> 
> This set is dealing with whitespaces only, no functional change, code
> shuffling, etc. should be present. The first patch clears out trailing
> whitespaces, the second one sorts out the crazy mishmash of tabs and
> spaces.

patch 2 Didn't come through - it'll be too large for the list.

However, it's is the same change as what you originally posted to a
git tree, then it needs revision. basically, most of the change was
converting vertically aligned function call parameters to use tabs,
and that broke the vertical alignment.

I'd suggest that this is the least of the whitespace sins of
xfsdump. yes, it's easy to script, but I don't think it's the right
thing to do. The biggest problems I think we need to start with are:

- reformat all the function definitions according to common XFS style
- get rid of all the "( foo )" style white space aroudn parenthesis
- convert all the code with 4 space indents to tabs, leaving
  vertically aligned function call parameters alone.

This will be a much smaller set of cleanups than a blanket
space-to-tab script does...

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux