From: Sven Verdoolaege Date: Mon, 21 May 2007 12:19:29 GMT Subject: Re: [RFC] Third round of support for cloning submodules Message-ID: <20070521121929.GM942MdfPADPa@greensroom.kotnet.org> In-Reply-To: <20070521113415.GY5412@admingilde.org> On Mon, May 21, 2007 at 01:34:15PM +0200, Martin Waitz wrote: > hoi :) > > On Mon, May 21, 2007 at 12:14:55PM +0200, Sven Verdoolaege wrote: > > How? AFAICS, it's upload-pack of the *clonee* that determines > > where the actual git dir is. The cloner has no clue. > > we can just store the link to the workdir-or-gitdir and then try > it out every time we access it. When clone stores the location > of the parent repository it doesn't know what it points to, but > fetch works, too. clone is just init + fetch (well, almost). The comment above applies to fetching as well. skimo