From: Sam Vilain Date: Wed, 11 Apr 2007 22:49:08 GMT Subject: Re: [PATCH 6/6] Teach core object handling functions about gitlinks Message-ID: <461D65E4.6060106@vilain.net> In-Reply-To: Linus Torvalds wrote: > (Side note: if you do *not* use detatched HEAD, I suspect the .gitmodules > file could also contain the branchname to be used for the subproject > tracking, but I think that's a detail, and quite debatable) > To discuss this detail, what about keeping refs, such as refs/submodules/branch/path/* (or some other convention) which are updated on commit? Then you can also easily clone just the submodule. Sam.