public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Thomas Rast <tr@thomasrast•ch>
To: David Kastrup <dak@gnu•org>
Cc: git@vger•kernel.org
Subject: Re: Is there something like a blamed diff?
Date: Mon, 17 Feb 2014 18:41:13 +0100	[thread overview]
Message-ID: <87ppmltz5y.fsf@thomasrast.ch> (raw)
In-Reply-To: <8761oeuhmg.fsf@fencepost.gnu.org> (David Kastrup's message of "Mon, 17 Feb 2014 12:02:31 +0100")

David Kastrup <dak@gnu•org> writes:

> Thomas Rast <tr@thomasrast•ch> writes:
>
>> David Kastrup <dak@gnu•org> writes:
>>
>>> When comparing two branches, decorating the flat diff with the
>>> respectively responsible commits seems like it would be nice to do/have
>>> (the blame on the identical parts, in contrast, is not really
>>> interesting).  Is there any tool that provides something like that?
>>
>> This seems to come up every year or so:
>>
>> http://thread.gmane.org/gmane.comp.version-control.git/110369/focus=110383
>
> Nice.  That one could likely be sped up by calling git-blame just once
> on each file with multiple -L options.

Yes.  You'll note that the email predates the support for multiple -L
options by a few years :-)

I never had a need for such a script, I just wrote that in response to
someone asking about it.  If you find it useful, please clean it up for
inclusion in contrib/.

-- 
Thomas Rast
tr@thomasrast•ch

      reply	other threads:[~2014-02-17 17:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-15 18:38 Is there something like a blamed diff? David Kastrup
2014-02-17 10:24 ` Thomas Rast
2014-02-17 11:02   ` David Kastrup
2014-02-17 17:41     ` Thomas Rast [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=87ppmltz5y.fsf@thomasrast.ch \
    --to=tr@thomasrast$(echo .)ch \
    --cc=dak@gnu$(echo .)org \
    --cc=git@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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