Re: [RFC PATCH] coccicheck: fail "make" when it fails
- From
Jeff King <peff@peff.net>
- Date
- Jun 21, 2025, 05:16 UTC
- Message-ID
- <20250621051651.GB3002138@coredump.intra.peff.net>
- In-Reply-To
- <xmqqwm97bv7c.fsf@gitster.g>
On Thu, Jun 19, 2025 at 08:35:35AM -0700, Junio C Hamano wrote:
Show 5 quoted lines
> With "make coccicheck", we generate contrib/coccinelle/*.cocci.patch > files that contain changes suggested by semantic patches, but "make" > succeeds. Admittedly, not many developers may run "make coccicheck" > in the first place, but it makes it harder to notice when they do > run it after they introduced an iffy piece of code.
I admit that I do not run coccicheck very often. But I have definitely been surprised by it not triggering a make failure when there are changes to be made. So I'd be in favor of this patch.
-Peff