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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 06, 2025 at 06:39:54PM +0200, Toon Claes wrote:
> Patrick Steinhardt <ps@xxxxxx> 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




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux