From: Martin Liska Date: Mon, 28 Mar 2022 10:42:46 +0000 (+0200) Subject: gcc-changelog: Update revert_regex. X-Git-Tag: basepoints/gcc-13~468 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a74ccc8cb02220ca45a1d0222ba5ba986abae570;p=thirdparty%2Fgcc.git gcc-changelog: Update revert_regex. contrib/ChangeLog: * gcc-changelog/git_commit.py: Match trailing dot literally. --- diff --git a/contrib/gcc-changelog/git_commit.py b/contrib/gcc-changelog/git_commit.py index 7e29934b4ad5..a6b5ff04f221 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