a good reading

Matthieu Moy Matthieu.Moy at imag.fr
Mon Aug 27 05:40:44 CDT 2007


Gábor Farkas <gabor at nekomancer.net> writes:

> do they have some documentation about how git-submodules work? i 
> couldn't find anything except the manpages...

Documentation for this is really poor AFAICT, but roughly, without
submodules, git stores a set of "objects" grouped in a tree. Most
objects are blobs (i.e. files), identified by the hash of their
content (there are also symlinks, ...). With submodules, you have an
additionnal type of object, which is "subproject", identified by the
hash of its commit-id.

Then, you have some stuff to tell git how to download a particular
subproject.

That said, I never used that submodule feature yet.

-- 
Matthieu


More information about the Mercurial mailing list