From: Joe Perches <joe@perches.com>
To: Jianyu Zhan <nasa4836@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: about get_maintainer.pl not showing the original author of the modified code
Date: Wed, 02 Mar 2016 20:24:37 -0800 [thread overview]
Message-ID: <1456979077.4044.106.camel@perches.com> (raw)
In-Reply-To: <CAHz2CGU7USf=sqtfkbwq0bGRwkyj1deRQ=eQ1ttT=396J_zOQg@mail.gmail.com>
On Thu, 2016-03-03 at 12:09 +0800, Jianyu Zhan wrote:
> On Thu, Mar 3, 2016 at 11:32 AM, Joe Perches <joe@perches.com> wrote:
> >
> > with your patch get_maintainer.pl and --git-blame gives:
> >
> > $ ./scripts/get_maintainer.pl ~/1.diff --git-blame
> > Thomas Gleixner <tglx@linutronix.de> (commit_signer:20/19=100%,authored:7/19=37%,added_lines:73/248=29%,removed_lines:38/119=32%)
> > Peter Zijlstra <peterz@infradead.org> (commit_signer:3/19=16%,authored:1/19=5%)
> > Andrew Morton <akpm@linux-foundation.org> (commit_signer:3/19=16%,modified commits:2/3=67%)
> > Davidlohr Bueso <dave@stgolabs.net> (commit_signer:3/19=16%,authored:3/19=16%,added_lines:113/248=46%,removed_lines:20/119=17%)
> > Ingo Molnar <mingo@kernel.org> (commit_signer:2/19=11%,modified commits:2/3=67%)
> > Dominik Dingel <dingel@linux.vnet.ibm.com> (authored:1/19=5%)
> > Jann Horn <jann@thejh.net> (authored:1/19=5%)
> > Sebastian Andrzej Siewior <bigeasy@linutronix.de> (added_lines:29/248=12%)
> > "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> (added_lines:14/248=6%,removed_lines:49/119=41%)
> > Darren Hart <dvhart@linux.intel.com> (modified commits:1/3=33%)
> > Stephen Hemminger <shemminger@linux-foundation.org> (modified commits:1/3=33%)
> > Christian Borntraeger <borntrae@de.ibm.com> (modified commits:1/3=33%)
> > linux-kernel@vger.kernel.org (open list)
> >
> > vs
> >
> > $ ./scripts/get_maintainer.pl ~/1.diff
> > Thomas Gleixner <tglx@linutronix.de> (commit_signer:20/19=100%,authored:7/19=37%,added_lines:73/248=29%,removed_lines:38/119=32%)
> > Davidlohr Bueso <dave@stgolabs.net> (commit_signer:3/19=16%,authored:3/19=16%,added_lines:113/248=46%,removed_lines:20/119=17%)
> > Peter Zijlstra <peterz@infradead.org> (commit_signer:3/19=16%)
> > Andrew Morton <akpm@linux-foundation.org> (commit_signer:3/19=16%)
> > Ingo Molnar <mingo@kernel.org> (commit_signer:2/19=11%)
> > Rasmus Villemoes <linux@rasmusvillemoes.dk> (authored:1/19=5%)
> > Darren Hart <dvhart@linux.intel.com> (authored:1/19=5%)
> > kbuild test robot <fengguang.wu@intel.com> (authored:1/19=5%)
> > Sebastian Andrzej Siewior <bigeasy@linutronix.de> (added_lines:29/248=12%)
> > "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> (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.
prev parent reply other threads:[~2016-03-03 4:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-03 3:00 about get_maintainer.pl not showing the original author of the modified code Jianyu Zhan
2016-03-03 3:32 ` Joe Perches
2016-03-03 4:09 ` Jianyu Zhan
2016-03-03 4:24 ` Joe Perches [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1456979077.4044.106.camel@perches.com \
--to=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nasa4836@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox