From: Junio C Hamano Date: Sun, 24 Jun 2007 17:50:48 GMT Subject: Re: [PATCH][RESEND] git-submodule: provide easy way of adding new submodules Message-ID: <7vir9dtf5z.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20070624151750.GA997MdfPADPa@greensroom.kotnet.org> Sven Verdoolaege writes: > They're different because submodule update (which also calls module_clone) > is performed on a module that already exists in the repo and > was therefore checked out by git as an empty directory. If you > add a new submodule, then there is no reason for the subdirectory > to exist already. Ah, you are absolutely right. Thanks for the clarification. By the way, when I have to say "thanks for the clarification", I think it is an indication that the relevant parts of the code need a bit of commenting ;-).