git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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 ;-).

Previous: Sven VerdoolaegeNext: Sven Verdoolaege
Message 6 of 10 in “[RESEND] git-submodule: provide easy way of adding new submodules”
  1. [RESEND] git-submodule: provide easy way of adding new submodulesSven Verdoolaege, Jun 21, 2007
  2. Lars HjemliJun 23, 2007
  3. Junio C HamanoJun 23, 2007
  4. Junio C HamanoJun 23, 2007
  5. Sven VerdoolaegeJun 24, 2007
  6. Junio C HamanoJun 24, 2007
  7. git-submodule: provide easy way of adding new submodulesSven Verdoolaege, Jun 24, 2007
  8. Junio C HamanoJun 25, 2007
  9. Sven VerdoolaegeJul 3, 2007
  10. Junio C HamanoJul 4, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.