Messages in this thread Patch in this message | | | Subject | [PATCH] get_maintainer: Exclude MAINTAINERS file(s) from --git-fallback and --git-blame | From | Joe Perches <> | Date | Fri, 21 Aug 2020 10:40:15 -0700 |
| |
MAINTAINERS files generally have no specific maintainer but are updated by individuals for subsystems all over the source tree.
Exclude MAINTAINERS file(s) from --git-fallback and --git-blame searches so the unlucky individuals that update the files the most are not shown.
Signed-off-by: Joe Perches <joe@perches.com> --- scripts/get_maintainer.pl | 1 + 1 file changed, 1 insertion(+)
diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index 484d2fbf5921..4d5196a11329 100755 --- a/scripts/get_maintainer.pl +++ b/scripts/get_maintainer.pl @@ -953,6 +953,7 @@ sub get_maintainers { } foreach my $file (@files) { + next if ($file =~ /MAINTAINERS$/); if ($email && ($email_git || ($email_git_fallback && !$exact_pattern_match_hash{$file}))) {
| |