All of lore.kernel.org
 help / color / mirror / Atom feed
From: Trevor Woerner <twoerner@gmail.com>
To: U-Boot Mailing List <u-boot@lists.denx.de>
Subject: [PATCH] scripts/get_maintainer.pl: obey ignore list
Date: Thu, 10 Jun 2021 23:37:27 -0400	[thread overview]
Message-ID: <20210611033727.882-1-twoerner@gmail.com> (raw)

If the user creates a .get_maintainer.ignore file, make sure it is consulted
and obeyed for *all* emails discovered by the script.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 scripts/get_maintainer.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index e3b41616c9..8c0fb8656e 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -2435,6 +2435,7 @@ sub merge_email {
 
     for (@_) {
 	my ($address, $role) = @$_;
+	next if (ignore_email_address($address));
 	if (!$saw{$address}) {
 	    if ($output_roles) {
 		push(@lines, "$address ($role)");
-- 
2.30.0.rc0


             reply	other threads:[~2021-06-11  3:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-11  3:37 Trevor Woerner [this message]
2021-06-11 14:23 ` [PATCH] scripts/get_maintainer.pl: obey ignore list Tom Rini
2021-06-11 14:56   ` Trevor Woerner
2021-06-11 21:06     ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210611033727.882-1-twoerner@gmail.com \
    --to=twoerner@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.