lkml.org 
[lkml]   [2015]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] get_maintainer: Don't fallback to git by default
Date
The get_maintainer.pl script could be used to get a list of people that
has to be in the copy list when posting patches for a given file but it
defaults to git fallback so the list returned isn't really relevant and
submitters are posting patches to random developers that just happened
to touch that file in the past.

Disable git fallback so get_maintainer.pl only returns the information
that is in MAINTAINERS by default.

Suggested-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>

---
Hello,

This patch was suggested by Wolfram on this thread [0] but it is
something I thought before because I've seen people complaining
on a regular basis about being cc'ed in random patches and there
are tools like patman [1] that rely on get_maintainers.pl to post
the patches.

[0]: https://lkml.org/lkml/2015/10/26/444
[1]: http://git.denx.de/?p=u-boot.git;a=blob;f=tools/patman/README

Best regards,
Javier

scripts/get_maintainer.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index 98bae869f6d0..b52ae26270e8 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -29,7 +29,7 @@ my $email_git = 0;
my $email_git_all_signature_types = 0;
my $email_git_blame = 0;
my $email_git_blame_signatures = 1;
-my $email_git_fallback = 1;
+my $email_git_fallback = 0;
my $email_git_min_signatures = 1;
my $email_git_max_maintainers = 5;
my $email_git_min_percent = 5;
--
2.4.3


\
 
 \ /
  Last update: 2015-10-26 23:21    [W:0.063 / U:1.828 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site