Re: [PATCH 6/6] Teach core object handling functions about gitlinks
- From
Sam Vilain <sam@vilain.net>
- Date
- Apr 11, 2007, 22:49 UTC
- Message-ID
- <461D65E4.6060106@vilain.net>
- In-Reply-To
- <Pine.LNX.4.64.0704110753360.6730@woody.linux-foundation.org>
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.