Re: [PATCH 1/8] odb: store locality in object database sources
- From
Patrick Steinhardt <ps@pks.im>
- Date
- Aug 7, 2025, 06:15 UTC
- Message-ID
- <aJRElp0_hWlWz-5a@pks.im>
- In-Reply-To
- <87fre4tndx.fsf@iotcl.com>
On Wed, Aug 06, 2025 at 06:39:54PM +0200, Toon Claes wrote:
Show 13 quoted lines
> Patrick Steinhardt <ps@pks.im> writes:
> > diff --git a/odb.h b/odb.h
> > index 09177bf430..d9f4dcf79f 100644
> > --- a/odb.h
> > +++ b/odb.h
> > @@ -63,6 +63,14 @@ struct odb_source {
> > */
> > struct multi_pack_index *midx;
> >
> > + /*
> > + * Figure out whether this is the local alternate of the owning
>
> Do we still use "alternate" in this context? Shouldn't it be "source"?Good catch, it should be source indeed. We only talk about alternates when we actually retrieve them from ".git/objects/info/alternates".
Patrick