8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51b821c commit 4208970Copy full SHA for 4208970
tools/verifygitlog.py
@@ -105,8 +105,12 @@ def verify_message_body(raw_body, err):
105
106
# Message body lines.
107
for line in raw_body[2:]:
108
- # Long lines with URLs are exempt from the line length rule.
109
- if len(line) >= 76 and "://" not in line:
+ # Long lines with URLs or human names are exempt from the line length rule.
+ if len(line) >= 76 and not (
110
+ "://" in line
111
+ or line.startswith("Co-authored-by: ")
112
+ or line.startswith("Signed-off-by: ")
113
+ ):
114
err.error("Message lines should be 75 or less characters: " + line)
115
116
if not raw_body[-1].startswith("Signed-off-by: ") or "@" not in raw_body[-1]:
0 commit comments