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

Re: [PATCH] bloom: ignore renames when computing changed paths

From
Jeff King <peff@peff.net>
Date
Apr 9, 2020, 13:47 UTC
Message-ID
<20200409134724.GA3494212@coredump.intra.peff.net>
In-Reply-To
<72fa2e30-b841-9600-ae2c-21a269817f1c@gmail.com>
On Thu, Apr 09, 2020 at 07:56:43AM -0400, Derrick Stolee wrote:
Show 8 quoted lines
> > So we really aren't detecting renames in the first place! And indeed,
> > checking diffopt.detect_rename shows that it is unset. So I'm curious if
> > there is a case where that would not be true. I _think_ it would only be
> > true in a program which ran init_diff_ui_defaults(), but never in
> > git-commit-graph.
> 
> So our issue was really that the partial clone prefetch logic was just
> overly aggressive.

Right, but I'm not sure how this patch could ever have helped, since it's just setting a variable to the value it _should_ have already had.

Or do you just mean that the issue would have gone away with Jonathan's patch to make the prefetching less aggressive?

-Peff
Previous: Derrick StoleeNext: Derrick Stolee
Message 6 of 9 in “bloom: ignore renames when computing changed paths”
  1. bloom: ignore renames when computing changed pathsDerrick Stolee via GitGitGadget, Apr 8, 2020
  2. Junio C HamanoApr 8, 2020
  3. Philip OakleyApr 8, 2020
  4. Jeff KingApr 8, 2020
  5. Derrick StoleeApr 9, 2020
  6. Jeff KingApr 9, 2020
  7. Derrick StoleeApr 9, 2020
  8. Jeff KingApr 9, 2020
  9. bloom: ignore renames when computing changed pathsDerrick Stolee via GitGitGadget, Apr 9, 2020

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.