Re: [ANNOUNCE] Example Cogito Addon - cogito-bundle
- From
Shawn Pearce <spearce@spearce.org>
- Date
- Oct 18, 2006, 19:18 UTC
- Message-ID
- <20061018191834.GA18829@spearce.org>
- In-Reply-To
- <Pine.LNX.4.64.0610181510510.1971@xanadu.home>
Nicolas Pitre <nico@cam.org> wrote:
Show 18 quoted lines
> On Wed, 18 Oct 2006, Junio C Hamano wrote: > > > Petr Baudis <pasky@suse.cz> writes: > > > > > By the way, originally I just wanted to index and save the pack, but > > > when trying to feed it to git-index-pack, I kept getting > > > > > > fatal: packfile '.git/objects/pack/pack-b2ab684daebea5b9c5a6492fa732e0d2e1799c8e.pack' has unresolved deltas > > > > > > while feeding it to git-unpack-objects works fine. Any idea what's wrong? > > > > Yes. You told the pipeline, with --objects-edge, to create a > > thin pack. By definition that is _not_ indexable. > > Ah true. I missed the "thin" pack. > > Any idea why we should still prevent this? It is not like it was a > technical limitation.
It still is in sha1-file.c; or at least the last time I looked at that code. The base is always resolved from the same pack/index as the delta. If you fix sha1-file.c sure, I don't see why you can't allow indexing thin packs.
-- Shawn.