Re: [PATCH][RESEND] git-submodule: provide easy way of adding new submodules
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 24, 2007, 17:50 UTC
- Message-ID
- <7vir9dtf5z.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20070624151750.GA997MdfPADPa@greensroom.kotnet.org>
Sven Verdoolaege <skimo@kotnet.org> writes:
Show 5 quoted lines
> 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 ;-).