public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH] get_maintainer.pl: update from Linux kernel v6.5
@ 2023-10-28 16:58 Tom Rini
  2023-10-30 21:36 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Rini @ 2023-10-28 16:58 UTC (permalink / raw)
  To: u-boot

Update U-Boot's version of scripts/get_maintainer.pl to sync it up with
the latest changes to the Linux kernel's version of the same script.

The last sync was with Linux kernel version v5.13-rc6. The commits to
the kernel's get_maintainer.pl since then (starting with the most
recent) are:
        11fb48961e52 get_maintainer: Honor mailmap for in file emails
        26d98e9f78da get_maintainer: don't remind about no git repo when --nogit is used

Signed-off-by: Tom Rini <trini@konsulko.com>
---
Note that I used v6.5 here as a reference point for future syncs,
v5.18-rc4 or thereabouts is the last time a change was made itself.
---
 scripts/get_maintainer.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index 81116e215e51..6c58578e9885 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -981,6 +981,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);
@@ -1718,7 +1719,7 @@ sub vcs_exists {
     %VCS_cmds = %VCS_cmds_hg;
     return 2 if eval $VCS_cmds{"available"};
     %VCS_cmds = ();
-    if (!$printed_novcs) {
+    if (!$printed_novcs && $email_git) {
 	warn("$P: No supported VCS found.  Add --nogit to options?\n");
 	warn("Using a git repository produces better results.\n");
 	warn("Try Linus Torvalds' latest git repository using:\n");
-- 
2.34.1


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

* Re: [PATCH] get_maintainer.pl: update from Linux kernel v6.5
  2023-10-28 16:58 [PATCH] get_maintainer.pl: update from Linux kernel v6.5 Tom Rini
@ 2023-10-30 21:36 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2023-10-30 21:36 UTC (permalink / raw)
  To: u-boot

[-- Attachment #1: Type: text/plain, Size: 636 bytes --]

On Sat, Oct 28, 2023 at 12:58:27PM -0400, Tom Rini wrote:

> Update U-Boot's version of scripts/get_maintainer.pl to sync it up with
> the latest changes to the Linux kernel's version of the same script.
> 
> The last sync was with Linux kernel version v5.13-rc6. The commits to
> the kernel's get_maintainer.pl since then (starting with the most
> recent) are:
>         11fb48961e52 get_maintainer: Honor mailmap for in file emails
>         26d98e9f78da get_maintainer: don't remind about no git repo when --nogit is used
> 
> Signed-off-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

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

end of thread, other threads:[~2023-10-30 21:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-28 16:58 [PATCH] get_maintainer.pl: update from Linux kernel v6.5 Tom Rini
2023-10-30 21:36 ` Tom Rini

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