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

Re: [PATCH 1/1] Bypass expensive content comparsion during rename detection

From
Shawn Pearce <spearce@spearce.org>
Date
Dec 14, 2006, 12:13 UTC
Message-ID
<20061214121336.GN1747@spearce.org>
In-Reply-To
<200612141126.kBEBQme7021704@hera.kernel.org>
Junio C Hamano <junio@hera.kernel.org> wrote:
Show 5 quoted lines
> estimate_similarity() is called after it has determined that one
> and two do not match exactly, and it relies on populate_filespec
> with at least size-only has been called on them so that it can
> reject filepair with vastly different sizes, still without
> looking at (thus without loading) the contents.

*ouch* That hurts. OK, it makes a lot of sense, but its crazy. About as crazy as the comment I put in my revised patch... ;-)

Previous: Junio C Hamano
Message 2 of 2 in “Re: [PATCH 1/1] Bypass expensive content comparsion during rename detection”
  1. Junio C HamanoDec 14, 2006
  2. Shawn PearceDec 14, 2006

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.