coccicheck: emit the contents of cocci patch

Telling the user "you got some error messages" without showing what the errors are is almost useless in CI environment, as the errors cannot be examined without downloading build artifacts. Arrange it to spew out the output when it fails. Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Dec 13, 2025 at 10:46 UTC d2e4099968ca1cd6b31b0516cdbafa0520674a8e
1 file changed +1 -1
Makefile
+1 -1
@@ -3521,7 +3521,7 @@ else
3521 COCCICHECK_PATCH_MUST_BE_EMPTY_FILES = $(COCCICHECK_PATCHES_INTREE)
3522 endif
3523 coccicheck: $(COCCICHECK_PATCH_MUST_BE_EMPTY_FILES)
3524 - ! grep -q ^ $(COCCICHECK_PATCH_MUST_BE_EMPTY_FILES) /dev/null
3524 + ! grep ^ $(COCCICHECK_PATCH_MUST_BE_EMPTY_FILES) /dev/null
3525
3526 # See contrib/coccinelle/README
3527 coccicheck-pending: coccicheck-test