From: Kalle Olavi Niemitalo Date: Wed, 16 Jul 2008 19:15:26 GMT Subject: Re: [PATCHv2] Documentation/git-submodule.txt: Add Description section Message-ID: <87d4ldvdwx.fsf@Astalo.kon.iki.fi> In-Reply-To: <20080716184248.6524.38463.stgit@localhost> Petr Baudis writes: > +Submodules are a special kind of tree entries which refer to a particular tree > +in another repository (living at a given URL). The tree entry describes > +the existence of a submodule with the given name and the exact revision that > +should be used, while the location of the repository is described in the > +`/.gitmodules` file. I was surprised to learn that a commit ID in a tree does not prevent Git from pruning the corresponding commit object if one happens to exist in the same repository. That might be best documented under "Tree Object" in user-manual.txt though, rather than in git-submodule.txt.