Hi Kristoffer
On 14/10/2024 11:06, Kristoffer Haugsbakk wrote:
Cc: gitster@xxxxxxxxx
Cc: Patrick Steinhardt <ps@xxxxxx>
Cc: phillip.wood123@xxxxxxxxx
Cc: Christian Couder <christian.couder@xxxxxxxxx>
Cc: Eric Sunshine <sunshine@xxxxxxxxxxxxxx>
Cc: Taylor Blau <me@xxxxxxxxxxxx>
We do not tend to use Cc: footers on this list. Also note that as there
is a blank line between the Signed-off-by: line and this paragraph the
Signed-off-by: will be ignored by git-interpret-trailers.
I thought that gitgitgadget checked for missing sign-off. I’ve seen
that message before at least.
I'm not sure what the DCO check does as I can't figure out what code its
running, but it looks like the commit lint just uses a regex on the
whole commit message[1]. I think the check could be tightened up to
ensure there is a Signed-off-by line that matches the commit author as I
seem to recall we've sometimes seen SOB lines with another identity instead.
Best Wishes
Phillip
[1]
https://github.com/gitgitgadget/gitgitgadget/blob/7726b025bfaa18b72c889ae01f053d77d34f199d/lib/commit-lint.ts#L142