public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] get_maintainer: Honor mailmap for in file emails
@ 2022-03-23 19:36 Rob Herring
  2022-03-23 21:44 ` Joe Perches
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring @ 2022-03-23 19:36 UTC (permalink / raw)
  To: Joe Perches; +Cc: Marc Zyngier, linux-kernel

Add support to also use the mailmap for 'in file' email addresses.

Reported-by: Marc Zyngier <maz@kernel.org>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Rob Herring <robh@kernel.org>
---
 scripts/get_maintainer.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index 6bd5221d37b8..ab123b498fd9 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -983,6 +983,7 @@ sub get_maintainers {
 	}
 
 	foreach my $email (@file_emails) {
+	    $email = mailmap_email($email);
 	    my ($name, $address) = parse_email($email);
 
 	    my $tmp_email = format_email($name, $address, $email_usename);
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] get_maintainer: Honor mailmap for in file emails
  2022-03-23 19:36 [PATCH] get_maintainer: Honor mailmap for in file emails Rob Herring
@ 2022-03-23 21:44 ` Joe Perches
  0 siblings, 0 replies; 2+ messages in thread
From: Joe Perches @ 2022-03-23 21:44 UTC (permalink / raw)
  To: Rob Herring, Andrew Morton; +Cc: Marc Zyngier, linux-kernel

On Wed, 2022-03-23 at 14:36 -0500, Rob Herring wrote:
> Add support to also use the mailmap for 'in file' email addresses.

Seems sensible, thanks.

Acked-by: Joe Perches <joe@perches.com>

> 
> Reported-by: Marc Zyngier <maz@kernel.org>
> Cc: Joe Perches <joe@perches.com>
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  scripts/get_maintainer.pl | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
> index 6bd5221d37b8..ab123b498fd9 100755
> --- a/scripts/get_maintainer.pl
> +++ b/scripts/get_maintainer.pl
> @@ -983,6 +983,7 @@ sub get_maintainers {
>  	}
>  
>  	foreach my $email (@file_emails) {
> +	    $email = mailmap_email($email);
>  	    my ($name, $address) = parse_email($email);
>  
>  	    my $tmp_email = format_email($name, $address, $email_usename);



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-23 21:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-23 19:36 [PATCH] get_maintainer: Honor mailmap for in file emails Rob Herring
2022-03-23 21:44 ` Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox