summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2022-03-28 12:42:46 +0200
committerMartin Liska <mliska@suse.cz>2022-03-28 12:42:46 +0200
commita74ccc8cb02220ca45a1d0222ba5ba986abae570 (patch)
tree6db62edc7efd4bdd31fed9bb63e77d6f24a61821 /contrib
parentc8464cf444e8f41f6c10cb75cfa899c838f8d506 (diff)
gcc-changelog: Update revert_regex.
contrib/ChangeLog: * gcc-changelog/git_commit.py: Match trailing dot literally.
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/gcc-changelog/git_commit.py2
1 files changed, 1 insertions, 1 deletions
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<spaces>\ *)(?P<content>.*)')
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<hash>[0-9a-f]+).$')
+revert_regex = re.compile(r'This reverts commit (?P<hash>[0-9a-f]+)\.$')
cherry_pick_regex = re.compile(r'cherry picked from commit (?P<hash>\w+)')
LINE_LIMIT = 100