Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34ADBC433DF for ; Fri, 16 Oct 2020 02:47:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E198A20760 for ; Fri, 16 Oct 2020 02:47:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602816454; bh=xRUZigBHrfuIsGY6ipPFWnnqQIehsmMqBmwrXsT2So8=; h=Date:From:To:Subject:In-Reply-To:Reply-To:List-ID:From; b=L7hAYbVUUMD0QFn9JEwo10HfSAVKx/L8fXHR+QQoD9kDwtbtSD3fugwqx1/Yjlq7j GL83Xowma4FIevcsu7dIJ49iKkvkZeVxa3VLzMhikZkDjwAsAqcgVmLfQ6aatKOJY3 CgiKUioBnlFSHd4C01jMkdEh4NX0qVSRPzMPbQHE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404349AbgJPCre (ORCPT ); Thu, 15 Oct 2020 22:47:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:35214 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404339AbgJPCre (ORCPT ); Thu, 15 Oct 2020 22:47:34 -0400 Received: from localhost.localdomain (c-73-231-172-41.hsd1.ca.comcast.net [73.231.172.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7E828208C7; Fri, 16 Oct 2020 02:47:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602816454; bh=xRUZigBHrfuIsGY6ipPFWnnqQIehsmMqBmwrXsT2So8=; h=Date:From:To:Subject:In-Reply-To:From; b=dQ6kusJ73tx/kEhpR12Nr5JUzx7fENG/MHGAkAQW/YZTZazaicHcmqacJ283jtGMA QMANqVEWUKLyTNaEjuCx3zfFsZJ8Fmd/Bv0W+yFhuTWBXaJsY1W4CjIE02JzwWAufX hHS8lcwlOTAJgA2tHwiJp3a0niEThlwS/hxAmzxE= Date: Thu, 15 Oct 2020 19:47:32 -0700 From: Andrew Morton To: akpm@linux-foundation.org, davem@davemloft.net, joe@perches.com, linux-mm@kvack.org, mchehab+huawei@kernel.org, mm-commits@vger.kernel.org, robh@kernel.org, torvalds@linux-foundation.org Subject: [patch 101/156] get_maintainer: exclude MAINTAINERS file(s) from --git-fallback Message-ID: <20201016024732.xepybbPuj%akpm@linux-foundation.org> In-Reply-To: <20201015192732.f448da14e9854c7cb7299956@linux-foundation.org> User-Agent: s-nail v14.8.16 Precedence: bulk Reply-To: linux-kernel@vger.kernel.org List-ID: X-Mailing-List: mm-commits@vger.kernel.org From: Joe Perches Subject: get_maintainer: exclude MAINTAINERS file(s) from --git-fallback 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 searches so the unlucky individuals that update the files the most are not shown by default. Link: https://lkml.kernel.org/r/2bacb0a9c06fbb6d56a43bf930e808c74243c908.camel@perches.com Signed-off-by: Joe Perches Cc: Rob Herring Cc: Mauro Carvalho Chehab Cc: "David S. Miller" Signed-off-by: Andrew Morton --- scripts/get_maintainer.pl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- a/scripts/get_maintainer.pl~get_maintainer-exclude-maintainers-files-from-git-fallback +++ a/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) { _