On 12/16/06, Torgil Svensson <torgil.svensson@gmail.com> wrote:
See it as the link only is there for the version handling between
different modules and it's the module file that give an UI to the the
link (which project, branch, ....). Many users will not care whats
behind those links, but if they want to edit the link they have to
create the modules file or fetch it somewhere - it may even be
provided and version controlled in the project itself.
example tree object:
100644 blob <sha1 of blob> README
100644 blob <sha1 of blob> REPORTING-BUGS
100644 link <sha1 of blob> <sha1 of commit>
040000 tree <sha1 of tree> arch
040000 tree <sha1 of tree> block
040000 link <sha1 of tree> <sha1 of commit>
Note that the links functions exactly as the blobs and trees in the
database. The difference is that they origin from _a_subproject_ (we
don't care which in this stage) with the specified commit SHA1. If the
link isn't represented in the modules file, it's no big deal, it can
be added later on if needed.
If the blame-game begins or if we want to check what we're using on a
submodule level we can always pinpoint the exact file/tree content and
history state using the two SHA1's in the submodule.
-
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