Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756906AbcCCEYo (ORCPT ); Wed, 2 Mar 2016 23:24:44 -0500 Received: from smtprelay0070.hostedemail.com ([216.40.44.70]:52583 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756717AbcCCEYl (ORCPT ); Wed, 2 Mar 2016 23:24:41 -0500 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 26,1.8,0,,d41d8cd98f00b204,joe@perches.com,:::,RULES_HIT:41:355:379:541:599:800:960:968:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1431:1437:1515:1516:1518:1534:1542:1593:1594:1711:1730:1747:1777:1792:2393:2505:2553:2559:2562:2693:2740:2828:3138:3139:3140:3141:3142:3353:3622:3865:3866:3867:3868:3871:3872:4321:5007:6119:6261:7903:9010:10004:10400:10848:11232:11658:11783:11914:12043:12296:12517:12519:12679:12740:13255:13439:13894:14659:21080:30003:30012:30022:30054:30064:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:3,LUA_SUMMARY:none X-HE-Tag: stem25_b8e0f69a3836 X-Filterd-Recvd-Size: 3863 Message-ID: <1456979077.4044.106.camel@perches.com> Subject: Re: about get_maintainer.pl not showing the original author of the modified code From: Joe Perches To: Jianyu Zhan Cc: LKML Date: Wed, 02 Mar 2016 20:24:37 -0800 In-Reply-To: References: <1456975950.4044.92.camel@perches.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5-1ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2881 Lines: 52 On Thu, 2016-03-03 at 12:09 +0800, Jianyu Zhan wrote: > On Thu, Mar 3, 2016 at 11:32 AM, Joe Perches wrote: > > > > with your patch get_maintainer.pl and --git-blame gives: > > > > $ ./scripts/get_maintainer.pl ~/1.diff --git-blame > > Thomas Gleixner (commit_signer:20/19=100%,authored:7/19=37%,added_lines:73/248=29%,removed_lines:38/119=32%) > > Peter Zijlstra (commit_signer:3/19=16%,authored:1/19=5%) > > Andrew Morton (commit_signer:3/19=16%,modified commits:2/3=67%) > > Davidlohr Bueso (commit_signer:3/19=16%,authored:3/19=16%,added_lines:113/248=46%,removed_lines:20/119=17%) > > Ingo Molnar (commit_signer:2/19=11%,modified commits:2/3=67%) > > Dominik Dingel (authored:1/19=5%) > > Jann Horn (authored:1/19=5%) > > Sebastian Andrzej Siewior (added_lines:29/248=12%) > > "Kirill A. Shutemov" (added_lines:14/248=6%,removed_lines:49/119=41%) > > Darren Hart (modified commits:1/3=33%) > > Stephen Hemminger (modified commits:1/3=33%) > > Christian Borntraeger (modified commits:1/3=33%) > > linux-kernel@vger.kernel.org (open list) > > > > vs > > > > $ ./scripts/get_maintainer.pl ~/1.diff > > Thomas Gleixner (commit_signer:20/19=100%,authored:7/19=37%,added_lines:73/248=29%,removed_lines:38/119=32%) > > Davidlohr Bueso (commit_signer:3/19=16%,authored:3/19=16%,added_lines:113/248=46%,removed_lines:20/119=17%) > > Peter Zijlstra (commit_signer:3/19=16%) > > Andrew Morton (commit_signer:3/19=16%) > > Ingo Molnar (commit_signer:2/19=11%) > > Rasmus Villemoes (authored:1/19=5%) > > Darren Hart (authored:1/19=5%) > > kbuild test robot (authored:1/19=5%) > > Sebastian Andrzej Siewior (added_lines:29/248=12%) > > "Kirill A. Shutemov" (added_lines:14/248=6%,removed_lines:49/119=41%) > > So original author's email would be spit out only if given > --git-blame, instead of by default, > which really surprises people.??Since most time we will cc original > author,??we have to use > --git-blame explicitly, thus pay the running time cost. So the runtime > ?argument don't stands, > why not just enable it by default? Several reasons: Most of the time, git history isn't used at all because there is a specific named maintainer. history isn't always appropriate as the original authors email address is old and bounces a .get_maintainer.conf file can be used to set whatever defaults anyone prefers.