Re: [RFC] clang-format: outline the git project's coding style
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 10, 2017, 16:41 UTC
- Message-ID
- <xmqqk22b5q9m.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <alpine.DEB.2.21.1.1708101137190.11175@virtualbox>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 11 quoted lines
> 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.