From: Shawn Pearce Date: Wed, 18 Oct 2006 19:18:35 GMT Subject: Re: [ANNOUNCE] Example Cogito Addon - cogito-bundle Message-ID: <20061018191834.GA18829@spearce.org> In-Reply-To: Nicolas Pitre wrote: > On Wed, 18 Oct 2006, Junio C Hamano wrote: > > > Petr Baudis 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.