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

Re: submodule init problem

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 25, 2007, 01:49 UTC
Message-ID
<7vir89fe1l.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<d4b731510707241730u45755c0dwfde5e0b14b14f1da@mail.gmail.com>
"Ricky Nite" <ricky.nite@gmail.com> writes:
Show 29 quoted lines
> This problem doesn't seem to occur if I rename my submodules (but I
> really don't want to):
>
> rnite@linuskarl:~/git_dev$ mkdir moduleA
> rnite@linuskarl:~/git_dev$ mkdir moduleB
> ...
> rnite@linuskarl:~/git_dev/myproj2$ ~/bin/git submodule init
> Submodule 'moduleA' (/home/rnite/git_dev/moduleA/.git) registered for
> path 'moduleA'
> Submodule 'moduleB' (/home/rnite/git_dev/moduleB/.git) registered for
> path 'moduleB'
>
> help,
> RickyN
>
> On 7/25/07, Ricky Nite <ricky.nite@gmail.com> wrote:
>> Hello,
>>
>> I encountered this message in "git submodule init":
>> "No url found for submodule path '<submodule>' in .gitmodules"
>>
>> But when I look at .gitmodules, the <submodule> url is there.
>> Subsequently, I cannot do "git submodule update"
>>
>> Here's the full log:
>> rnite@linuskarl:~/git_dev/myproj$ ~/bin/git --version
>> git version 1.5.3.rc2.g11308
>> rnite@linuskarl:~/git_dev$ mkdir flash
>> rnite@linuskarl:~/git_dev$ mkdir flashboard

Ok, this appears it most likely to be related to the fact that one is a prefix of the other in problematic case.

Lars, Sven?
Previous: Ricky Nite
Message 3 of 3 in “submodule init problem”
  1. Ricky NiteJul 25, 2007
  2. Ricky NiteJul 25, 2007
  3. Junio C HamanoJul 25, 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.