Subject: Re: [PATCH 1/8] odb: store locality in object database sources

From: Patrick Steinhardt <[email-masked]>
Date: Thu, 7 Aug 2025 08:15:50 +0200

On Wed, Aug 06, 2025 at 06:39:54PM +0200, Toon Claes wrote:
> Patrick Steinhardt <[email-masked]> 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