Re: [RFC] clang-format: outline the git project's coding style
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 14, 2017, 15:52 UTC
- Message-ID
- <alpine.DEB.2.21.1.1708141751590.19382@virtualbox>
- In-Reply-To
- <xmqqk22b5q9m.fsf@gitster.mtv.corp.google.com>
Hi Junio,
On Thu, 10 Aug 2017, Junio C Hamano wrote:
Show 20 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > > > On Wed, 9 Aug 2017, Stefan Beller wrote: > > > >> > I am sure that something even better will be possible: a Continuous > >> > "Integration" that fixes the coding style automatically by using > >> > `filter-branch` (avoiding the merge conflicts that would arise if > >> > `rebase -i` was used). > >> > >> I do not quite follow. Is that to be used by Junio while integrating > >> branches? > > > > I was more thinking about a bot on GitHub. "Code cleanup as a service". > > I vaguely recall that there was a discussion to have SubmitGit wait > for success from Travis CI; if that is already in place, then I can > sort of see how it would help individual contributors to have the > style checker in that pipeline as well. > > I have a mixed feelings about "fixing" styles automatically, though.
That's too bad. I would much rather focus on quality of code than conformance of style, even if the latter is a lot easier than the former.
Ciao, Dscho