From: Sven Verdoolaege Date: Mon, 21 May 2007 18:05:06 GMT Subject: Re: [PATCH 07/16] git-read-tree: take --submodules option Message-ID: <20070521180506.GP942MdfPADPa@greensroom.kotnet.org> In-Reply-To: <20070521165938.GA4118@efreet.light.src> On Mon, May 21, 2007 at 06:59:38PM +0200, Jan Hudec wrote: > We could store the GIT_DIR of submodule within the GIT_DIR of the > superproject instead of the submodule directory itself. So instead of: > / > /.git > /subdir > /subdir/.git > > There would be: > / > /.git > /subdir > /.git/submodules/submodule-name.git I have this already, except that I use /.git/submodules/submodule-name/.git because I was too lazy to figure out how to get clone to use the above without using --bare, because --bare disables separate-remotes. Is there any good reason, btw for --bare not to do separate-remotes ? We could throw out a lot of speical cases, especially the --bare http fetch if we would simply always do a separate-remotes. > This would require changes to the logic how git finds GIT_DIR (which would be > really deep change), Euhm.... I just add a symlink... skimo