[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How about using clang-format instead checkpatch for fixing style?
From: |
Paolo Bonzini |
Subject: |
Re: How about using clang-format instead checkpatch for fixing style? |
Date: |
Fri, 9 Oct 2020 15:25:04 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
On 09/10/20 15:02, 罗勇刚(Yonggang Luo) wrote:
> We can even using clang-format to format the whole repository.
checkpatch does other checks than formatting.
Reformatting the whole repository has been mentioned many times, people
were worried of messing up the result of "git blame". But without doing
that, it's hard to get rid of checkpatch because checkpatch only looks
at the lines that are touched by the patch.
Paolo