Skip to contentSkip to conversation

get_maintainer.pl: update from Linux kernel v6.5

PATCH In review Tom Rini 1 participant 2 messages Oct 28, 2023 – Oct 30, 2023 GET_MAINTAINER script

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 get_maintainer.pl: update from Linux kernel v6.5

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

---
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(-)
scripts/get_maintainer.pl +2 -1
index 81116e215e51..6c58578e9885 100755
@@ -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");
Signature · 1 line
2.34.1
author
#1 lore raw
Quoted 10 lines · Tom Rini

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

Applied to u-boot/master, thanks!

Signature · 1 line
Tom