diff options
author | Martin Liska <mliska@suse.cz> | 2022-03-28 12:42:46 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2022-03-28 12:42:46 +0200 |
commit | a74ccc8cb02220ca45a1d0222ba5ba986abae570 (patch) | |
tree | 6db62edc7efd4bdd31fed9bb63e77d6f24a61821 /contrib/gcc-changelog/git_commit.py | |
parent | c8464cf444e8f41f6c10cb75cfa899c838f8d506 (diff) | |
download | gcc-a74ccc8cb02220ca45a1d0222ba5ba986abae570.zip gcc-a74ccc8cb02220ca45a1d0222ba5ba986abae570.tar.gz gcc-a74ccc8cb02220ca45a1d0222ba5ba986abae570.tar.bz2 |
gcc-changelog: Update revert_regex.
contrib/ChangeLog:
* gcc-changelog/git_commit.py: Match trailing dot literally.
Diffstat (limited to 'contrib/gcc-changelog/git_commit.py')
-rwxr-xr-x | contrib/gcc-changelog/git_commit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcc-changelog/git_commit.py b/contrib/gcc-changelog/git_commit.py index 7e29934..a6b5ff0 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 |