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$ cd moduleA rnite@linuskarl:~/git_dev/moduleA$ echo "foo" > moduleAtop.v rnite@linuskarl:~/git_dev/moduleA$ ~/bin/git init Initialized empty Git repository in .git/ rnite@linuskarl:~/git_dev/moduleA$ ~/bin/git add moduleAtop rnite@linuskarl:~/git_dev/moduleA$ ~/bin/git commit -a -m"imitial commit" Created initial commit f8bc70b: imitial commit 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 moduleAtop.v rnite@linuskarl:~/git_dev/moduleA$ cd ../moduleB rnite@linuskarl:~/git_dev/moduleB$ echo "foo" > moduleBtop.v rnite@linuskarl:~/git_dev/moduleB$ ~/bin/git init Initialized empty Git repository in .git/ rnite@linuskarl:~/git_dev/moduleB$ ~/bin/git add moduleBtop.v rnite@linuskarl:~/git_dev/moduleB$ ~/bin/git commit -a -m"imitial commit" Created initial commit da426f3: imitial commit 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 moduleBtop.v rnite@linuskarl:~/git_dev/moduleB$ cd .. rnite@linuskarl:~/git_dev$ mkdir myproj2 rnite@linuskarl:~/git_dev$ cd myproj2 rnite@linuskarl:~/git_dev/myproj2$ ~/bin/git init Initialized empty Git repository in .git/ rnite@linuskarl:~/git_dev/myproj2$ ~/bin/git submodule add ~/git_dev/moduleA Initialized empty Git repository in /home/rnite/git_dev/myproj2/moduleA/.git/ remote: Generating pack... remote: Done counting 3 objects. Deltifying 3 objects... 100% (3/3) done Total 3 (delta 0), reused 0remote: (delta 0) Indexing 3 objects... 100% (3/3) done rnite@linuskarl:~/git_dev/myproj2$ ~/bin/git submodule add ~/git_dev/moduleB Initialized empty Git repository in /home/rnite/git_dev/myproj2/moduleB/.git/ remote: Generating pack... remote: Done counting 3 objects. Deltifying 3 objects... 100% (3/3) done Total 3 (delta 0), reused 0remote: (delta 0) Indexing 3 objects... 100% (3/3) done 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@xxxxxxxxx> 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 rnite@linuskarl :~/git_dev$ cd flash rnite@linuskarl:~/git_dev/flash$ echo "foo" > flash.v rnite@linuskarl:~/git_dev/flash$ ~/bin/git init Initialized empty Git repository in .git/ rnite@linuskarl:~/git_dev/flash$ ~/bin/git add flash.v rnite@linuskarl:~/git_dev/flash$ ~/bin/git commit -a -m "initial commit of flash module" Created initial commit c19874e: initial commit of flash module 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 flash.v rnite@linuskarl:~/git_dev/flash$ cd ../flashboard rnite@linuskarl:~/git_dev/flashboard$ echo "foo" > flashboard.v rnite@linuskarl:~/git_dev/flashboard$ ~/bin/git init Initialized empty Git repository in .git/ rnite@linuskarl:~/git_dev/flashboard$ ~/bin/git add flashboard.v rnite@linuskarl:~/git_dev/flashboard$ ~/bin/git commit -a -m "initial commit of flashboard module" Created initial commit 45dff87: initial commit of flashboard module 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 flashboard.v rnite@linuskarl:~/git_dev/flashboard$ cd .. rnite@linuskarl :~/git_dev$ mkdir myproj rnite@linuskarl:~/git_dev$ cd myproj rnite@linuskarl:~/git_dev/myproj$ ~/bin/git init Initialized empty Git repository in .git/ rnite@linuskarl:~/git_dev/myproj$ ~/bin/git submodule add ~/git_dev/flash Initialized empty Git repository in /home/rnite/git_dev/myproj/flash/.git/ remote: Generating pack... remote: Done counting 3 objects. Deltifying 3 objects... 100% (3/3) done Total 3 (delta 0), reused 0remote: (delta 0) Indexing 3 objects... 100% (3/3) done rnite@linuskarl:~/git_dev/myproj$ ~/bin/git submodule add ~/git_dev/flashboard Initialized empty Git repository in /home/rnite/git_dev/myproj/flashboard/.git/ remote: Generating pack... remote: Done counting 3 objects. Deltifying 3 objects... 100% (3/3) done Total 3 (delta 0), reused 0remote: (delta 0) Indexing 3 objects... 100% (3/3) done rnite@linuskarl:~/git_dev/myproj$ ~/bin/git submodule init No url found for submodule path 'flash' in .gitmodules rnite@linuskarl:~/git_dev/myproj$ cat .gitmodules [submodule "flash"] path = flash url = /home/rnite/git_dev/flash/.git [submodule "flashboard"] path = flashboard url = /home/rnite/git_dev/flashboard/.git I can add more submodules, but the message stays the same after "git submodule init" and I cannot do "git submodule update" help, RickyN
- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html