Re: [PATCH] refs: fix loose-ref seeking across directory boundaries
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 27, 2026, 22:22 UTC
- Message-ID
- <xmqqzevyg4w7.fsf@gitster.g>
- In-Reply-To
- <pull.2258.git.1792067455341.gitgitgadget@gmail.com>
"Venkat Ragavan via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 13 quoted lines
> From: Venkat Ragavan S <mail2venkat21@gmail.com> > > When seeking through loose refs, cache_ref_iterator_seek() compares > each directory component without its trailing slash. This can confuse > a directory with a similarly named ref that sorts before it. > ... > Add regression tests for shared-prefix names, missing nested markers, > and markers beyond the end of the ref listing, using loose, packed, > and mixed refs. > > Signed-off-by: Venkat Ragavan S <mail2venkat21@gmail.com> > --- > refs: fix loose-ref seeking across directory boundaries
I overlooked this topic, but re-reading the discussion, aside from a test that confused a reader, it seems the topic was already ready to go?
Any objections to the idea of making the topic ready for 'next'?
Thanks.