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