Re: [ANNOUNCE] GIT 1.5.2-rc3
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 11, 2007, 07:10 UTC
- Message-ID
- <7v1whnesyn.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <200705111330.54312.litvinov2004@gmail.com>
Alexander Litvinov <litvinov2004@gmail.com> writes:
> I have tried your test and found that cloning such repo does not clone > subprojects. Only empty dir 'sub' is being cloned.
Yes, that is pretty much intentional. Having a link for higher layer tools can use (i.e. tree objects can contain 160000 mode "gitlinks" to subproject commit objects) while not considering such linkage part of the reachability is the whole point of plumbing level subproject support. It allows people not to download repositories of uninteresting subprojects. Higher layer tools such as clone/checkout/diff could be instructed (currently they cannot be, though) to recurse into subproject directories if the user wants to.
A few good pointers for this topic are:
$gmane/44162
$gmane/44308