Nicolas Pitre <nico@xxxxxxx> wrote: > On Wed, 18 Oct 2006, Junio C Hamano wrote: > > > Petr Baudis <pasky@xxxxxxx> 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. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html