On Thu, Jan 24, 2013 at 12:01 AM, Junio C Hamano <gits...@pobox.com> wrote: > I however have this suspicion that this will become a losing battle > and we would be better off getting rid of add_submodule_odb(); > instead operations that work across repositories will be done as a > subprocess, which will get us back closer to one of the original > design goals of submodule support to have a clear separation between > the superproject and its submodules.
It does not have to be subprocess. Thomas Rast did some work on support multithread access to object db by basically replicating all datastructure per thread. If that work is complete, we have something like "odb container" that could be used to access objects from another repository and it won't contaminate the original odb. The same thing can be done for ref and index access. -- Duy -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html