Re: [ANNOUNCE] Example Cogito Addon - cogito-bundle
- From
Nicolas Pitre <nico@cam.org>
- Date
- Oct 18, 2006, 19:33 UTC
- Message-ID
- <Pine.LNX.4.64.0610181525410.1971@xanadu.home>
- In-Reply-To
- <20061018191834.GA18829@spearce.org>
On Wed, 18 Oct 2006, Shawn Pearce wrote:
Show 23 quoted lines
> Nicolas Pitre <nico@cam.org> wrote: > > 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.
Yep. I mean this doesn't have to be like that fundamentally.
> If you fix sha1-file.c sure, I don't see why you > can't allow indexing thin packs.
If there are advantages to do so then maybe. That would be for another day though, as I've been burned a bit with packs recently.
Nicolas