Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Sep 2023 20:17:18 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 61f8df6a13a3 - main - mfc-candidates: search by committer only, not author
Message-ID:  <202309252017.38PKHIcw078066@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=61f8df6a13a357e1d45c22a2016b87491f10de87

commit 61f8df6a13a357e1d45c22a2016b87491f10de87
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-09-24 13:13:15 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-09-25 20:11:28 +0000

    mfc-candidates: search by committer only, not author
    
    When both --author and --committer are specified, `git log` requires
    both to match.  Search only by committer, as it is typically the FreeBSD
    committer who will perform the MFC.
    
    Reviewed by:    jhb
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D41964
---
 tools/tools/git/mfc-candidates.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/tools/git/mfc-candidates.sh b/tools/tools/git/mfc-candidates.sh
index 9e120d451beb..76ff9b4d53c6 100644
--- a/tools/tools/git/mfc-candidates.sh
+++ b/tools/tools/git/mfc-candidates.sh
@@ -118,7 +118,7 @@ fi
 authorarg=
 if [ -n "$author" ]; then
 	# Match user ID in the email portion of author or committer
-	authorarg="--author <${author}@ --committer <${author}@"
+	authorarg="--committer <${author}@"
 fi
 
 # Commits in from_branch after branch point



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309252017.38PKHIcw078066>