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

Re: [PATCH v3] refs/files: keep root refs out of loose ref cache

From
Patrick Steinhardt <ps@pks.im>
Date
Oct 21, 2026, 05:36 UTC
Message-ID
<athPaILS_RqqMUap@pks.im>
In-Reply-To
<xmqqik2vss86.fsf@gitster.g>
On Tue, Oct 20, 2026 at 07:27:37PM -0700, Junio C Hamano wrote:
Show 15 quoted lines
> Patrick Steinhardt <ps@pks.im> writes:
> 
> >> Changes from v2:
> >> - Drop fixes to documentation of REFS_FOR_EACH_INCLUDE_ROOT_REFS and
> >>   --include-root-refs added in v2. I'll create a separate patch with
> >>   those as well as other fixes for outdated uses of "pseudoref".
> >> 
> >> The range diff shows the changes from v1, because they're of more
> >> interest than dropping the documentation changes I'd added in v2.
> >
> > Thanks for this. By the way, I would recommend to have a look at b4,
> > which handles all of the bookkeeping for you.
> 
> Perhaps it cuts both ways.  Can you tell b4 to do the flexible thing
> the author did in this case?

No, it's more restricted in this case. But mistakes like this wouldn't happen anymore if one were to use it right from the start, so it would not even have been necessary to have the flexibility :)

Patrick
Previous: Junio C Hamano
Message 13 of 13 in “refs/files: keep root refs out of loose ref cache”
  1. refs/files: keep root refs out of loose ref cacheAndy Koppe, Oct 14, 2026
  2. Patrick SteinhardtOct 15, 2026
  3. Junio C HamanoOct 15, 2026
  4. Andy KoppeOct 15, 2026
  5. Patrick SteinhardtOct 16, 2026
  6. Junio C HamanoOct 16, 2026
  7. refs/files: keep root refs out of loose ref cacheAndy Koppe, Oct 17, 2026
  8. Patrick SteinhardtOct 19, 2026
  9. Andy KoppeOct 19, 2026
  10. refs/files: keep root refs out of loose ref cacheAndy Koppe, Oct 19, 2026
  11. Patrick SteinhardtOct 20, 2026
  12. Junio C HamanoOct 21, 2026
  13. Patrick SteinhardtOct 21, 2026

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.