From: Junio C Hamano Date: Tue, 03 Nov 2026 00:37:34 GMT Subject: Re: [PATCH v2] odb: do not list our own refs as alternate refs in the quarantine Message-ID: In-Reply-To: "Kristofer Karlsson via GitGitGadget" writes: > Changes since v1: > > * Changed the rule to "an alternate that is ourselves is not a source > of alternate refs", as Peff described it. > > * Added a "borrowed" flag to alternates, set when they are loaded, > which says whether they come from another repository, and used it for > --alternate-refs. Our own object directory is recognized either as > /objects or as the parent of GIT_QUARANTINE_PATH. > > * Documented this for --alternate-refs. > > * Added tests for rev-list --alternate-refs in a pre-receive hook, for > our own object directory set up as an alternate by hand, and for a > quarantine outside of the commondir. All of the above changes make sense to me. This unfortunately crashes with Patrick's odb-reload-alternates series, but let me see if I can get a reasonable conflict resolution or if it is more reasonable to ask you to rebase this on the other topic. Thanks.