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

Re: [PATCH v6 0/6] blame: add the ability to ignore commits

From
BRBarret Rhoden <brho@google.com>
Date
Apr 23, 2019, 14:23 UTC
Message-ID
<cc1466bc-0610-784b-e57b-8612c2e8569f@google.com>
In-Reply-To
<20190422222647.48628-1-michael@platin.gs>
On 4/22/19 6:26 PM, michael@platin.gs wrote:
Show 5 quoted lines
> From: Michael Platings <michael@platin.gs>
> 
> Hi Barret,
> 
> This patch is on top of your patch v6 4/6.

Thanks, I'll take a look. I was working on taking your old version and integrating it with my v6 6/6. That way it gets the origin-fingerprint-filling code and can be easily compared to my 6/6 style.

[snip]
Show 5 quoted lines
> 
> To address reordered lines I suggest a combination of this algorithm and your
> algorithm - in the first path my algorithm tries to match lines within a
> single chunk, and in the second pass your algorithm tries to find matches for
> unblamed lines out of order and outside their chunk.

I was thinking something similar. Yesterday I did this with your older patch set - applied on my 6/6. Two passes, one with your fuzzy matcher, then if we didn't find anything, do a scan of the entire parent (as my 6/6 does now).

This approached worked for the cases I had (e.g. "header reordering"). I ran into an issue last night where your scan was finding matches where it shouldn't - might have been an issue with how I hooked it up. I'll try your latest code and see how it goes.

Thanks,
Barret
Previous: michael@platin.gsNext: Barret Rhoden
Message 2 of 6 in “RE: [PATCH v6 0/6] blame: add the ability to ignore commits”
  1. michael@platin.gsApr 22, 2019
  2. Barret RhodenApr 23, 2019
  3. Barret RhodenApr 23, 2019
  4. Barret RhodenApr 23, 2019
  5. Barret RhodenApr 23, 2019
  6. Barret RhodenApr 24, 2019

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.