Skip to content

Commit bb3190b

Browse files
committed
tools/verifygitlog.py: Allow long co-author and sign-off names.
Signed-off-by: Daniël van de Giessen <daniel@dvdgiessen.nl>
1 parent 883dc41 commit bb3190b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tools/verifygitlog.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,11 @@ def verify_message_body(raw_body, err):
106106
# Message body lines.
107107
for line in raw_body[2:]:
108108
# Long lines with URLs are exempt from the line length rule.
109-
if len(line) >= 76 and "://" not in line:
109+
if len(line) >= 76 and not (
110+
"://" in line
111+
or line.startswith("Co-authored-by: ")
112+
or line.startswith("Signed-off-by: ")
113+
):
110114
err.error("Message lines should be 75 or less characters: " + line)
111115

112116
if not raw_body[-1].startswith("Signed-off-by: ") or "@" not in raw_body[-1]:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy