[PATCH] scripts/get_maintainer.pl: obey ignore list

Trevor Woerner twoerner at gmail.com
Fri Jun 11 05:37:27 CEST 2021


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 at 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



More information about the U-Boot mailing list