Re: [PATCH 3/3] parse: replace atoi() with strtoul_ui() and strtol_i()
From: Phillip Wood <hidden>
Date: 2024-10-14 13:48:27
Hi Kristoffer On 14/10/2024 11:06, Kristoffer Haugsbakk wrote:
quoted
quoted
Cc: gitster@pobox.com Cc: Patrick Steinhardt <redacted> Cc: phillip.wood123@gmail.com Cc: Christian Couder <redacted> Cc: Eric Sunshine <redacted> Cc: Taylor Blau <redacted>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