gcc-changelog: detect Co-Authored-By before ChangeLog entries
contrib/ChangeLog: * gcc-changelog/git_commit.py: Support Co-Authored-By before a first ChangeLog entry.
This commit is contained in:
parent
f3b1516d9d
commit
ae3e0b8bc2
@ -409,7 +409,8 @@ class GitCommit:
|
||||
continue
|
||||
if (changelog_regex.match(b) or self.find_changelog_location(b)
|
||||
or star_prefix_regex.match(b) or pr_regex.match(b)
|
||||
or dr_regex.match(b) or author_line_regex.match(b)):
|
||||
or dr_regex.match(b) or author_line_regex.match(b)
|
||||
or b.lower().startswith(CO_AUTHORED_BY_PREFIX)):
|
||||
self.changes = body[i:]
|
||||
return
|
||||
if not all_are_ignored:
|
||||
|
Loading…
Reference in New Issue
Block a user