From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1851) id D16753858C74; Mon, 28 Mar 2022 10:43:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D16753858C74 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Martin Liska To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-7845] gcc-changelog: Update revert_regex. X-Act-Checkin: gcc X-Git-Author: Martin Liska X-Git-Refname: refs/heads/master X-Git-Oldrev: c8464cf444e8f41f6c10cb75cfa899c838f8d506 X-Git-Newrev: a74ccc8cb02220ca45a1d0222ba5ba986abae570 Message-Id: <20220328104328.D16753858C74@sourceware.org> Date: Mon, 28 Mar 2022 10:43:28 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2022 10:43:28 -0000 https://gcc.gnu.org/g:a74ccc8cb02220ca45a1d0222ba5ba986abae570 commit r12-7845-ga74ccc8cb02220ca45a1d0222ba5ba986abae570 Author: Martin Liska Date: Mon Mar 28 12:42:46 2022 +0200 gcc-changelog: Update revert_regex. contrib/ChangeLog: * gcc-changelog/git_commit.py: Match trailing dot literally. Diff: --- contrib/gcc-changelog/git_commit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/gcc-changelog/git_commit.py b/contrib/gcc-changelog/git_commit.py index 7e29934b4ad..a6b5ff04f22 100755 --- a/contrib/gcc-changelog/git_commit.py +++ b/contrib/gcc-changelog/git_commit.py @@ -165,7 +165,7 @@ star_prefix_regex = re.compile(r'\t\*(?P\ *)(?P.*)') end_of_location_regex = re.compile(r'[\[<(:]') item_empty_regex = re.compile(r'\t(\* \S+ )?\(\S+\):\s*$') item_parenthesis_regex = re.compile(r'\t(\*|\(\S+\):)') -revert_regex = re.compile(r'This reverts commit (?P[0-9a-f]+).$') +revert_regex = re.compile(r'This reverts commit (?P[0-9a-f]+)\.$') cherry_pick_regex = re.compile(r'cherry picked from commit (?P\w+)') LINE_LIMIT = 100