From: Jeff King <peff@peff.net>
To: xmeng <xmeng@cs.wisc.edu>
Cc: git@vger.kernel.org
Subject: Re: Check out git-author
Date: Mon, 8 Sep 2014 01:19:56 -0400 [thread overview]
Message-ID: <20140908051956.GA8987@peff.net> (raw)
In-Reply-To: <0a3b0f232ec56517d4db43c6bd6ebb63@cs.wisc.edu>
On Sun, Sep 07, 2014 at 06:05:13PM -0500, xmeng wrote:
> The problem with git-blame is that it only reports the last author/commit
> that changed the line, regardless of the magnitude of the change. Sometimes,
> the last author may only change a tiny part of the code and should not be
> blamed. I developed a built-in tool called "git-author" to address this
> problem. Git-author is designed to track the complete development history of
> a line. For the same line of code:
>
> $ git author -c -L 2235,2235 fs/ext4/mballoc.c
> [...]
Have you tried "git log -L 2235,2235:fs/ext4/mballoc.c --
fs/ext4/mballoc.c"? Can you compare your approach to that of "log -L"?
-Peff
next prev parent reply other threads:[~2014-09-08 5:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-07 23:05 Check out git-author xmeng
2014-09-08 5:19 ` Jeff King [this message]
2014-09-08 7:16 ` Torsten Bögershausen
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=20140908051956.GA8987@peff.net \
--to=peff@peff.net \
--cc=git@vger.kernel.org \
--cc=xmeng@cs.wisc.edu \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.