Skip to content

Commit e668489

Browse files
committed
.gitlint: Ignore Signed-off-by lines when checking commit logs
Without this configuration, gitlint treats lines like Signed-off-by, Acked-by, and others as part of the commit message body and doesn't warn about empty commit messages. This update ignores these lines (e.g., Signed-off-by, Co-Authored-by) for more accurate commit message checks. Signed-off-by: Yasushi SHOJI <[email protected]>
1 parent 9372736 commit e668489

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.gitlint

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[general]
2+
regex-style-search=true
3+
4+
[ignore-body-lines]
5+
regex=^(Signed-off|Acked|Co-Authored|Reported|Tested-by)-by:

0 commit comments

Comments
 (0)