On Fri, 4 Aug 2006, Junio C Hamano wrote: > > That would only work *once*, because the resulting pack would > now have blobs from two or more different files and you cannot > tell them apart. You don't care. You need to keep track of the blob names separately _anyway_: the pack information is not enough to re-create all the revision info. So clearly, to create the tree and commit objects, the cvsimport really needs to keep track of the objects it has created, and what their relationship is, and it needs to do that separately. The pack-file just contains the contents, so that you only ever afterwards need to worry about the 20-byte SHA1, not the actual file itself. > > To get a list of all object names in a pack-file, you'd basically do just > > something like the appended. > > git-show-index? Yeah, that might be good. Linus - : 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