On Saturday 02 December 2006 00:30, Linus Torvalds wrote:
I just thought about the case when you want to clone a submodule directly
out of the supermodule repository, at a given realive path. And that can
be changing.
Of course, every project which happens to be submodule of some supermodule,
also can have its own repository, as it is fully independent. And then,
you of course can clone from without any knowledge of its relative position
in the supermodule.
Yes.
Of course.
Yet, you need some name to store meta information of submodules
into some config file of the supermodule, like whether you want to have
it checked out (see below).
In that case, such a name for a submodule does not have to be global in
the supermodule project...
Yes. I just gave an example of a policy some project may want for submodule
handling.
Exactly. And in this list, you have to specify names.
The thing I wanted to discuss is whether such names would need to be globally
unique in the project containing submodles, or not.
If yes, it IMHO makes a lot of sense to introduce "submodule objects" which contain
these submodule names, and which are used as pointers to submodule commits in
supermodule trees.
Josef
-
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