get_maintainer: Honor mailmap for in file emails
Add support to also use the mailmap for 'in file' email addresses. Link: https://lkml.kernel.org/r/20220323193645.317514-1-robh@kernel.org Signed-off-by: Rob Herring <robh@kernel.org> Reported-by: Marc Zyngier <maz@kernel.org> Acked-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
c06d7aaf29
commit
11fb48961e
|
@ -983,6 +983,7 @@ sub get_maintainers {
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach my $email (@file_emails) {
|
foreach my $email (@file_emails) {
|
||||||
|
$email = mailmap_email($email);
|
||||||
my ($name, $address) = parse_email($email);
|
my ($name, $address) = parse_email($email);
|
||||||
|
|
||||||
my $tmp_email = format_email($name, $address, $email_usename);
|
my $tmp_email = format_email($name, $address, $email_usename);
|
||||||
|
|
Loading…
Reference in New Issue