Re: [PATCH v3] odb: do not list our own refs as alternate refs

From
Junio C Hamano <hidden>
Date
2026-11-05 19:07:28
Reply to
Kristofer Karlsson via GitGitGadget, 2026-11-05
"Kristofer Karlsson via GitGitGadget" [off-list ref]
writes:
    Changes since v2:
    
     * Went back to the approach of v1, as Peff suggested: skip our own
       repository in the alternate refs code itself, with no special
       handling of the quarantine. The "borrowed" flag and the check for the
       parent of GIT_QUARANTINE_PATH are gone.
    
     * The commit message now describes this as a tightening of what
       --alternate-refs means, in line with how loading alternates already
       ignores the object directory itself.
    
     * Kept the documentation note and the tests from v2, except the one for
       a quarantine outside of the commondir.
Thanks.  Will replace.
Thread (24 messages) 24 messages, 6 authors, last reply 3d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help