mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-01 10:43:43 +00:00
scripts/get_maintainer.pl: don't search MAINTAINERS for keywords or emails
Keyword matching uses K: patterns from MAINTAINERS, so if looking for the MAINTAINERS maintainer, don't search MAINTAINERS for pattern matches. MAINTAINERS also has rather a lot of email addresses and is easily searched using grep "^M:", so skip it. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
6ffd9485f5
commit
fab9ed12fc
@ -304,7 +304,7 @@ foreach my $file (@ARGV) {
|
||||
}
|
||||
if ($from_filename) {
|
||||
push(@files, $file);
|
||||
if (-f $file && ($keywords || $file_emails)) {
|
||||
if ($file ne "MAINTAINERS" && -f $file && ($keywords || $file_emails)) {
|
||||
open(my $f, '<', $file)
|
||||
or die "$P: Can't open $file: $!\n";
|
||||
my $text = do { local($/) ; <$f> };
|
||||
|
Loading…
Reference in New Issue
Block a user