Commit 819d3a5
committed
coccicheck: fail "make" when it fails
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.
Check that the resulting cocci.patch files are all empty.
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent f93ff17 commit 819d3a5
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3422 | 3422 | | |
3423 | 3423 | | |
3424 | 3424 | | |
| 3425 | + | |
3425 | 3426 | | |
3426 | | - | |
| 3427 | + | |
3427 | 3428 | | |
3428 | | - | |
| 3429 | + | |
3429 | 3430 | | |
| 3431 | + | |
| 3432 | + | |
3430 | 3433 | | |
3431 | 3434 | | |
3432 | 3435 | | |
| |||
0 commit comments