From: Ævar Arnfjörð Bjarmason Date: Tue, 29 Nov 2022 17:59:37 GMT Subject: Re: [PATCH 3/5] diff-merges: implement log.diffMergesForce config Message-ID: <221129.86tu2hiqre.gmgdl@evledraar.gmail.com> In-Reply-To: On Wed, Nov 30 2022, Junio C Hamano wrote: > Sergey Organov writes: > >> Junio C Hamano writes: >> >>> Sergey Organov writes: >>> >>>> + if (set_func != NULL) { >>> >>> Please write it like so: >>> >>> if (set_func) { >> >> OK, will do. >> >>> >>> I am not reviewing any new feature topic during -rc period (yet), >>> but this triggered CI failure at the tip of 'seen', so. >> >> Thanks! Do we now have tool for auto-check for these issues? I still use >> one from Linux kernel, and it didn't object to this form. > > I noticed it when I pushed to GitHub, which ran the CI ;-) > > If you have your own fork at GitHub of https://github.com/git/git/, I > think preparing a pull request against it triggers the CI. ...in this case though there's no reason to wait for the glacially slow GitHub CI. You just need spatch installed and: make coccicheck Sergey: If you've hacked on the (I'm assuming linux) kernel you likely have that installed already, they use it too (being the canonical and I believe original use-case for it).