VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Joe Perches <joe@perches.com> 2020-10-15 20:10:37 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2020-10-16 11:11:19 -0700 commit: 6343f6b71f83af8ebfc6f9740d1d74f2db88e6b0 parent: cdfe2d22047661c5e0ecf8f28e7e8843ee177aff
Commit Summary:
get_maintainer: exclude MAINTAINERS file(s) from --git-fallback
Diffstat:
1 file changed, 4 insertions, 2 deletions
diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index 5a36354a38cc..2075db0c08b8 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -957,8 +957,10 @@ sub get_maintainers {
 
     foreach my $file (@files) {
 	if ($email &&
-	    ($email_git || ($email_git_fallback &&
-			    !$exact_pattern_match_hash{$file}))) {
+	    ($email_git ||
+	     ($email_git_fallback &&
+	      $file !~ /MAINTAINERS$/ &&
+	      !$exact_pattern_match_hash{$file}))) {
 	    vcs_file_signoffs($file);
 	}
 	if ($email && $email_git_blame) {