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

Re: [RFC 1/4] Add diff-diff, which compares the diffs of two commits

From
Steffen Prohaska <prohaska@zib.de>
Date
Dec 15, 2007, 17:33 UTC
Message-ID
<A5764757-D8D1-4B4C-B70D-4D1B0775423B@zib.de>
In-Reply-To
<20071215170436.GA22485@atjola.homenet>
On Dec 15, 2007, at 6:04 PM, Björn Steinbrink wrote:
Show 12 quoted lines
> On 2007.12.15 17:51:42 +0100, Steffen Prohaska wrote:
>> The following patch series adds experimental diff-diff support.
> [...]
>> At this point, I'm only seeking comments about the general direction.
>> The patches should not be applied to git.git.
>>
>>  - Are similar approaches already available?
>
> interdiff from patchutils. Probably interdiff would also be a better
> name than diff-diff, just to be consistent with what is already there.
> And using interdiff instead of plain diff in your script might also
> yield better results (I didn't use interdiff that often yet).

At a first glance, interdiff yields more intuitive results if it works, but it may fail if the two patches differ to much. I need to play more to see how useful it is in real world examples. I did not know interdiff before.

At this point I'm not convinced that interdiff is exactly what I have in mind. For example it doesn't show differences between commit messages of two git patches.

	Steffen
Previous: Björn SteinbrinkNext: Junio C Hamano
Message 7 of 8 in “[RFC 1/4] Add diff-diff, which compares the diffs of two commits”
  1. Steffen ProhaskaDec 15, 2007
  2. 2/4 gitk: Add diff-diff supportSteffen Prohaska, Dec 15, 2007
  3. 3/4 gitk: Refactor getblobdiffline to split off adddifflineSteffen Prohaska, Dec 15, 2007
  4. 4/4 gitk: Use adddiffline to nicely format diff-diffSteffen Prohaska, Dec 15, 2007
  5. Johannes SchindelinDec 15, 2007
  6. Björn SteinbrinkDec 15, 2007
  7. Steffen ProhaskaDec 15, 2007
  8. Junio C HamanoDec 15, 2007

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.