public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-7845] gcc-changelog: Update revert_regex.
@ 2022-03-28 10:43 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2022-03-28 10:43 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:a74ccc8cb02220ca45a1d0222ba5ba986abae570

commit r12-7845-ga74ccc8cb02220ca45a1d0222ba5ba986abae570
Author: Martin Liska <mliska@suse.cz>
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<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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-28 10:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-28 10:43 [gcc r12-7845] gcc-changelog: Update revert_regex Martin Liska

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).