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

Re: [BUG] Fail to add a module in a subdirectory if module is already cloned

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 24, 2012, 22:38 UTC
Message-ID
<7vd3a83ewi.fsf@alter.siamese.dyndns.org>
In-Reply-To
<4F1F2D38.9050909@web.de>
Jens Lehmann <Jens.Lehmann@web.de> writes:
> Just for the record: I checked that and git-submodule does not set the
> SUBDIRECTORY_OK environment variable so every time it is not run in the
> top level directory it aborts with:
> "You need to run this command from the toplevel of the working tree."
Ah, Ok.
Previous: Jens LehmannNext: Jens Lehmann
Message 7 of 9 in “[BUG] Fail to add a module in a subdirectory if module is already cloned”
  1. Jehan BingJan 24, 2012
  2. Jens LehmannJan 24, 2012
  3. Jens LehmannJan 24, 2012
  4. Junio C HamanoJan 24, 2012
  5. Jens LehmannJan 24, 2012
  6. Jens LehmannJan 24, 2012
  7. Junio C HamanoJan 24, 2012
  8. submodule add: fix breakage when re-adding a deep submoduleJens Lehmann, Jan 24, 2012
  9. Jehan BingJan 25, 2012

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.