From: Martin Waitz Date: Fri, 01 Dec 2006 16:15:58 GMT Subject: Re: [RFC] Submodules in GIT Message-ID: <20061201161558.GC18810@admingilde.org> In-Reply-To: <45705283.5080900@b-i-t.de> hoi :) On Fri, Dec 01, 2006 at 05:04:19PM +0100, Stephan Feder wrote: > I was looking into git-init-module.sh (branch module2). There you set up > a separate git repository for the submodule and store references to it > into the supermodules's repository. yes. This is to be able to call git-fsck-objects and git-prune in the toplevel supermodule. When traversing the object tree, it already knows about all submodule, but only about those versions that are really part of their supermodule. So I have to teach git about separate submodule branches which may be used, in order not to prune them away. -- Martin Waitz