Re: [PATCH 02/13] oidset2: create oidset subclass with object length and pathname
- From
- Brandon Williams <bmwill@google.com>
- Date
- Sep 22, 2017, 20:42 UTC
- Message-ID
- <20170922204211.GA24036@google.com>
- In-Reply-To
- <20170922202632.53714-3-git@jeffhostetler.com>
On 09/22, Jeff Hostetler wrote:
Show 11 quoted lines
> From: Jeff Hostetler <jeffhost@microsoft.com> > > Create subclass of oidset where each entry has a > field to store the length of the object's content > and an optional pathname. > > This will be used in a future commit to build a > manifest of omitted objects in a partial/narrow > clone/fetch. > > Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
I think it may be better to create an 'oidmap' instead of an 'oidset+some specific other bits' that way, in the future, we have a generalized data structure which we can use to provide a mapping between oids and some arbitrary data.
-- Brandon Williams