git: 4c1c2b9dab02 - main - git-mfc: Slightly relax the regex used to search for reverts
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Jul 2026 21:11:22 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=4c1c2b9dab020624a1400644f98af7af4b7af68d
commit 4c1c2b9dab020624a1400644f98af7af4b7af68d
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-07-24 21:09:42 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-07-24 21:09:42 +0000
git-mfc: Slightly relax the regex used to search for reverts
Prompted by commit 9dfaf1cb37f8ac89cf in FreeBSD src.
Reported by: des
---
tools/tools/git/git-mfc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/tools/git/git-mfc b/tools/tools/git/git-mfc
index c5a39e3ba5a4..45a16a3bd5e4 100755
--- a/tools/tools/git/git-mfc
+++ b/tools/tools/git/git-mfc
@@ -154,7 +154,7 @@ def reverts(commit):
reverts, or None.
"""
for line in commit.message.splitlines():
- m = re.match(r'^This reverts commit ([0-9a-f]{40})\.', line)
+ m = re.match(r'^This reverts commit ([0-9a-f]{40})', line)
if m:
return m.group(1)
return None