git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Is there something like a blamed diff?

From
Thomas Rast <tr@thomasrast.ch>
Date
Feb 17, 2014, 17:41 UTC
Message-ID
<87ppmltz5y.fsf@thomasrast.ch>
In-Reply-To
<8761oeuhmg.fsf@fencepost.gnu.org>
David Kastrup <dak@gnu.org> writes:
Show 15 quoted lines
> 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
Previous: David Kastrup
Message 4 of 4 in “Is there something like a blamed diff?”
  1. David KastrupFeb 15, 2014
  2. Thomas RastFeb 17, 2014
  3. David KastrupFeb 17, 2014
  4. Thomas RastFeb 17, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.