Skip to content

Commit d2e4099

Browse files
committed
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>
1 parent 6362c9c commit d2e4099

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3521,7 +3521,7 @@ else
35213521
COCCICHECK_PATCH_MUST_BE_EMPTY_FILES = $(COCCICHECK_PATCHES_INTREE)
35223522
endif
35233523
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
35253525

35263526
# See contrib/coccinelle/README
35273527
coccicheck-pending: coccicheck-test

0 commit comments

Comments
 (0)