]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - scripts/get_maintainer.pl
get_maintainer.pl: update from Linux kernel v6.5
[thirdparty/u-boot.git] / scripts / get_maintainer.pl
index 81116e215e516f63d92a67a80f4b2c1975913d5f..6c58578e9885d66d582b731c50ba031b33f5ab4a 100755 (executable)
@@ -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");