Nopes. I just didn't think of the fact that subtrees are trees and never
store any path-info no matter what. So basically the supermodule can
store all trees of all submodules for each commit adding a new submodule
revision (which is neat, since "casuals" never have to bother with
getting all the submodules if they want to see all the code used in any
particular revision), while we invent the new tree object "subm" that
points to a commit in the submodule repo. We then teach the tools to
recognize when the *real* submodule repo is present and just don't check
out trees from the supermodule odb that lead us to directories where
submodules reside. Simple and beautiful. Me likes.
*IF* we teach the history viewers about submodules is a different matter
though. I'm not sure it would make much sense to have simple text-mode
browsers show the submodule history, although I can imagine qgit and
gitk wanting to take advantage of their nice side-by-side DAG displaying
code to show all the repos in parallell, or link between them in some
point-and-click kind of way.
--
Andreas Ericsson andreas.ericsson@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html