From: Martin Liska Date: Mon, 4 Jan 2021 08:53:58 +0000 (+0100) Subject: gcc-changelog: Ignore copyright years commits. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8869bd0efcd491fc57666a62d06f0e3898fa0d64;p=gcc.git gcc-changelog: Ignore copyright years commits. contrib/ChangeLog: * gcc-changelog/git_commit.py: Skip Update copyright years commits. --- diff --git a/contrib/gcc-changelog/git_commit.py b/contrib/gcc-changelog/git_commit.py index f9cb8cbf030..d2e5dbe294a 100755 --- a/contrib/gcc-changelog/git_commit.py +++ b/contrib/gcc-changelog/git_commit.py @@ -276,6 +276,10 @@ class GitCommit: self.revert_commit = None 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 for line in self.info.lines: m = revert_regex.match(line)