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

Submodule URL

From
HWHilco Wijbenga <hilco.wijbenga@gmail.com>
Date
Jun 27, 2011, 22:38 UTC
Message-ID
<BANLkTikyZxiW_t27Y4bXCPBjbJd_DYbOyw@mail.gmail.com>
Hi all,

As I was creating a script to support a question about submodules I ran into something that I don't understand. I've attached a simple script that fails to execute properly. I don't understand why.

In essence, I'm setting up 2 separate, bare repositories on the local file system. One is intended to be a submodule, the other the umbrella project. I then try to clone the umbrella project. Although I use complete, absolute file:// URLs git submodule update --init fails because .gitmodules uses a relative URL instead of the absolute URL I provided initially. (Naturally, a relative URL could work too but it would have to be a different one.) :-)

Should I use a different syntax? Or are file:// URLs not supported for submodules? Or am I simply misunderstanding how this is supposed to work?

Cheers, Hilco

Next: Hilco Wijbenga
Message 1 of 2 in “Submodule URL”
  1. Hilco WijbengaJun 27, 2011
  2. Hilco WijbengaJun 28, 2011

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.