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

Re: [PATCH] clarify need for init in git-submodules documentation

From
SVSven Verdoolaege <skimo@kotnet.org>
Date
Aug 17, 2007, 09:31 UTC
Message-ID
<20070817093116.GH1070MdfPADPa@greensroom.kotnet.org>
In-Reply-To
<11872878021267-git-send-email-madduck@madduck.net>
On Thu, Aug 16, 2007 at 08:10:02PM +0200, martin f. krafft wrote:
Show 5 quoted lines
> +The file .gitmodules serves default configuration data to users who cloned the
> +repository. In order to work with submodules, these data need to be copied to
> +$GIT_DIR/config with `git-submodule init`. Only the data in $GIT_DIR/config
> +are used for `git-submodule update`.
> +

This is not true. The url (which is local information) is taken from .git/config, the name/path relation (which is shared information) is taken from .gitmodules.

skimo
PS, please don't prune (me from) the CC list when replying.
Previous: martin f. krafftNext: martin f krafft
Message 2 of 13 in “clarify need for init in git-submodules documentation”
  1. clarify need for init in git-submodules documentationmartin f. krafft, Aug 16, 2007
  2. Sven VerdoolaegeAug 17, 2007
  3. martin f krafftAug 17, 2007
  4. Sven VerdoolaegeAug 17, 2007
  5. Clarify role of init command in git-submodules documentationmartin f. krafft, Aug 20, 2007
  6. Sven VerdoolaegeAug 20, 2007
  7. Junio C HamanoAug 20, 2007
  8. martin f krafftAug 21, 2007
  9. Sven VerdoolaegeAug 21, 2007
  10. martin f krafftAug 21, 2007
  11. Sven VerdoolaegeAug 22, 2007
  12. martin f krafftAug 22, 2007
  13. Not setting M-F-T, keeping people on Cc (was: [PATCH] clarify need for init in git-submodules documentation)martin f krafft, Aug 20, 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.