diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2026-07-24 21:09:42 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2026-07-24 21:09:42 +0000 |
| commit | 4c1c2b9dab020624a1400644f98af7af4b7af68d (patch) | |
| tree | b481f45282304051a21fa36a3fecfee6c5261fa3 | |
| parent | bb933b1d1846b3a984670b8cd65450c3333188f6 (diff) | |
git-mfc: Slightly relax the regex used to search for reverts
Prompted by commit 9dfaf1cb37f8ac89cf in FreeBSD src.
Reported by: des
| -rwxr-xr-x | tools/tools/git/git-mfc | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
