Messages in this thread | | | Subject | Re: [PATCH] scsi: megaraid: cleanup formatting of megaraid | From | Tom Rix <> | Date | Fri, 4 Mar 2022 14:38:37 -0800 |
| |
On 3/4/22 6:02 AM, Miguel Ojeda wrote: > On Fri, Mar 4, 2022 at 2:46 PM Tom Rix <trix@redhat.com> wrote: >> The churn level will be very high. > Nobody is planning to reformat the entire kernel, at least not until > the tool is close enough to the kernel style, which will take a while.
The churn on a single file like this is high.
There is no way to separate just one type of change, you get all the changes.
Not having an opt-in/out per type of change is a flaw that makes clang-format not ready.
Tom
> >> Until clang-format has an opt-in mechanism, I do not think clang-format >> should be used. >> >> .clang-format should be moved to staging/ to reflect its not being ready >> status. > What is not ready about it? > > It is a fairly useful tool that some people is already using, either > for full file formatting or for sections within their editor. > > Cheers, > Miguel >
| |