public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] get_maintainers.pl: Follow renames when looking up commit signers
@ 2011-11-11  7:59 Ian Campbell
  2011-11-11 11:44 ` Joe Perches
  2011-11-11 12:09 ` Mercurial linux-kernel repository at kernel.org? Joe Perches
  0 siblings, 2 replies; 7+ messages in thread
From: Ian Campbell @ 2011-11-11  7:59 UTC (permalink / raw)
  To: Andrew Morton, Joe Perches; +Cc: linux-kernel

I happen to have had a commit to various network drivers since the big
renaming/reorg which happened to drivers/net recently. This means that I
now appear to be in the top few commit signers (by %age) for many of
them so am getting sent all sorts of stuff and people who are involved
with the driver are not. e.g. (to pick one at random):

        $ ./scripts/get_maintainer.pl -f drivers/net/ethernet/nvidia/forcedeth.c
        "David S. Miller" <davem@davemloft.net> (commit_signer:5/7=71%)
        Ian Campbell <ian.campbell@citrix.com> (commit_signer:2/7=29%)
        Eric Dumazet <eric.dumazet@gmail.com> (commit_signer:1/7=14%)
        Jeff Kirsher <jeffrey.t.kirsher@intel.com> (commit_signer:1/7=14%)
        Jiri Pirko <jpirko@redhat.com> (commit_signer:1/7=14%)
        netdev@vger.kernel.org (open list:NETWORKING DRIVERS)
        linux-kernel@vger.kernel.org (open list)

With the following patch the renames are followed and the result appears
much more sensible:

        $ ./scripts/get_maintainer.pl -f drivers/net/ethernet/nvidia/forcedeth.c
        "David S. Miller" <davem@davemloft.net> (commit_signer:31/34=91%)
        Joe Perches <joe@perches.com> (commit_signer:11/34=32%)
        Szymon Janc <szymon@janc.net.pl> (commit_signer:5/34=15%)
        Jiri Pirko <jpirko@redhat.com> (commit_signer:3/34=9%)
        Paul <paul.gortmaker@windriver.com> (commit_signer:2/34=6%)
        netdev@vger.kernel.org (open list:NETWORKING DRIVERS)
        linux-kernel@vger.kernel.org (open list)
        
Signed-off-by: Ian.Campbell@citrix.com

diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
index 4594f33..f32a04c 100755
--- a/scripts/get_maintainer.pl
+++ b/scripts/get_maintainer.pl
@@ -95,7 +95,7 @@ my %VCS_cmds_git = (
     "execute_cmd" => \&git_execute_cmd,
     "available" => '(which("git") ne "") && (-d ".git")',
     "find_signers_cmd" =>
-	"git log --no-color --since=\$email_git_since " .
+	"git log --no-color --follow --since=\$email_git_since " .
 	    '--format="GitCommit: %H%n' .
 		      'GitAuthor: %an <%ae>%n' .
 		      'GitDate: %aD%n' .



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-11-14 17:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-11  7:59 [PATCH] get_maintainers.pl: Follow renames when looking up commit signers Ian Campbell
2011-11-11 11:44 ` Joe Perches
2011-11-11 12:09 ` Mercurial linux-kernel repository at kernel.org? Joe Perches
2011-11-11 18:06   ` Matt Mackall
2011-11-11 19:24     ` Joe Perches
2011-11-14 17:06       ` Matt Mackall
2011-11-11 19:37     ` John 'Warthog9' Hawley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox