gcc-changelog: Ignore copyright years commits.
contrib/ChangeLog: * gcc-changelog/git_commit.py: Skip Update copyright years commits.
This commit is contained in:
parent
b4cdbb9335
commit
8869bd0efc
@ -276,6 +276,10 @@ class GitCommit:
|
|||||||
self.revert_commit = None
|
self.revert_commit = None
|
||||||
self.commit_to_info_hook = commit_to_info_hook
|
self.commit_to_info_hook = commit_to_info_hook
|
||||||
|
|
||||||
|
# Skip Update copyright years commits
|
||||||
|
if self.info.lines and self.info.lines[0] == 'Update copyright years.':
|
||||||
|
return
|
||||||
|
|
||||||
# Identify first if the commit is a Revert commit
|
# Identify first if the commit is a Revert commit
|
||||||
for line in self.info.lines:
|
for line in self.info.lines:
|
||||||
m = revert_regex.match(line)
|
m = revert_regex.match(line)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user