checkpatch stops processing at an empty commit

From: Tomi Valkeinen
Date: Mon Sep 26 2022 - 08:06:59 EST


Hi,

I use empty commits as "banner" commits, and it seems that checkpatch stops
processing commits when it encounters such an empty commit. This happens
both when using checkpatch for patch files and when using the -g option
to check the git branch.

Here I call checkpatch for a bigger range, in which the second commit
(4928b50c0e23) is an empty commit:

$ ./scripts/checkpatch.pl -g --strict --max-line-length=80 c553517a043b..aec2d6335383
---------------------------------------------------------
Commit 1bd2c75f1254 ("media: v4l2-subdev: Sort includes")
---------------------------------------------------------
total: 0 errors, 0 warnings, 0 checks, 24 lines checked

Commit 1bd2c75f1254 ("media: v4l2-subdev: Sort includes") has no obvious style problems and is ready for submission.
--------------------------------------------------------------------------------------
Commit 4928b50c0e23 ("=========================== Fixes ============================")
--------------------------------------------------------------------------------------

Tomi