Re: [hatari-devel] Trailing whitespace removal |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Trailing whitespace removal
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Fri, 16 Oct 2020 07:17:32 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1602825455; bh=18TsbJPzbEBJPZo21EhAyIcW+NH7/C5VnAAzFyisV/w=; h=Date:From:To:Subject:From; b=TZKOK+Y4p5tQEomvXqM6/ikzhhxVsam7k7v0+7XHZzdLPYU1TsMrN5NPEht9Ef98i pZ+kGg881qYsfIZuc2wad8nRhxYjj3Z8/16isJnZ+it7hamr3SsH7OK/K7v5RdJOr/ L9doyfkoT81jIZmGbmEDJwVnpA94mQRy17neYeWsQB+rwkPbf6NF/17h6oKxm0PNfq jKKsBJdPd10H1lWWcK8zenXcFxo0JyqNnysZHok89pvmSc4toHPudBqBWwZPmNPtAy yNwtm7Hi6TDUDgX6yBgxR3R748BVSalvJpzwwMkG0vhBxZZEFHs5biU1MKpDzmt+xm 6YJ/Tin3KmbVQ==
Am Tue, 13 Oct 2020 13:10:00 +0300
schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
> Hi,
>
> Would it be OK to commit changes that remove trailing whitespace from
> all code, except:
> - src/gui-osx/ (may be partly auto-generated)
> - src/uae-cpu/ (not gonna change anymore)
> - src/cpu/ (comes from another project)
> ?
>
> Line counts for the changes look following:
> -------------------------------------------
> [PATCH 1/6] Remove trailing white space from test code
> 12 files changed, 23 insertions(+), 23 deletions(-)
> -------------------------------------------
> [PATCH 2/6] Remove trailing white space from debug & tools code
> 19 files changed, 90 insertions(+), 90 deletions(-)
> -------------------------------------------
> [PATCH 3/6] Remove trailing white space from Falcon code
> 5 files changed, 106 insertions(+), 106 deletions(-)
> -------------------------------------------
> [PATCH 4/6] Remove trailing white space from SDL GUI code
> 5 files changed, 536 insertions(+), 536 deletions(-)
> -------------------------------------------
> [PATCH 5/6] Remove trailing white space from includes
> 9 files changed, 20 insertions(+), 20 deletions(-)
> -------------------------------------------
> [PATCH 6/6] Remove trailing white space from Hatari main code
> 48 files changed, 326 insertions(+), 326 deletions(-)
> -------------------------------------------
Not sure ... that looks like quite a lot of code churn for little use?
I normally only change that for files that I want to edit afterwards
anyway, and also only if it really bugs me...
I think we should
a) wait for the release first, to avoid that we have accidential
regressions due to this (it's unlikely, but still could happen)
b) add a statement to doc/coding.txt first that says that trailing
white spaces should be avoided.
Thomas