From: Sergey Organov Date: Wed, 30 Nov 2022 13:01:12 GMT Subject: Re: [PATCH 3/5] diff-merges: implement log.diffMergesForce config Message-ID: <87v8mwtx47.fsf@osv.gnss.ru> In-Reply-To: <221129.86tu2hiqre.gmgdl@evledraar.gmail.com> Ævar Arnfjörð Bjarmason writes: > 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). Thanks a lot! I'll definitely give it a try even though I didn't use it while hacking on the Linux kernel. -- Sergey Organov