What does "git submodule status" say?
What's in your .gitmodules file?
I just ran i little sequence for your reference to see if it will give
you any hints [on a windows machine, but that shouldn't matter, too
much]... (even had some errors to solve along the way):
Andreas Stenius@NEO /c/Work/Mobitron/proj/zotonic (master)
$ git submodule status
-816af03ec05ff257214f7e95de77d433565d8504 deps/gen_smtp
-dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b deps/lager
-c0ec721428944787a9fc2b2b103e99b463da3d17 deps/webzmachine
Andreas Stenius@NEO /c/Work/Mobitron/proj/zotonic (master)
$ git submodule update --init
Submodule 'deps/gen_smtp' (git://github.com/zotonic/gen_smtp.git)
registered for path 'deps/gen_smtp'
Submodule 'deps/lager' (https://github.com/basho/lager.git) registered
for path 'deps/lager'
Submodule 'deps/webzmachine'
(git://github.com/zotonic/webzmachine.git) registered for path
'deps/webzmachine'
fatal: destination path 'deps/gen_smtp' already exists and is not an
empty directory.
Clone of 'git://github.com/zotonic/gen_smtp.git' into submodule path
'deps/gen_smtp' failed
Andreas Stenius@NEO /c/Work/Mobitron/proj/zotonic (master)
$ rm -rf deps/gen_smtp
Andreas Stenius@NEO /c/Work/Mobitron/proj/zotonic (master)
$ git submodule update --init
Submodule 'deps/gen_smtp' () registered for path 'deps/gen_smtp'
Submodule 'deps/lager' () registered for path 'deps/lager'
Submodule 'deps/webzmachine' () registered for path 'deps/webzmachine'
Cloning into 'deps/gen_smtp'...
remote: Counting objects: 1612, done.
remote: Compressing objects: 100% (488/488), done.
Receiving objects: 68% (1097/1612), 852.00 KiB | 105 KiB/s
Receiving objects: 100% (1612/1612), 888.66 KiB | 91 KiB/s, done.
Resolving deltas: 100% (1161/1161), done.
Submodule path 'deps/gen_smtp': checked out
'816af03ec05ff257214f7e95de77d433565d8504'
Cloning into 'deps/lager'...
remote: Counting objects: 958, done.
remote: Compressing objects: 100% (377/377), done.
remote: Total 958 (delta 674), reused 853 (delta 570)
Receiving objects: 100% (958/958), 450.99 KiB | 69 KiB/s, done.
Resolving deltas: 100% (674/674), done.
Submodule path 'deps/lager': checked out
'dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b'
Cloning into 'deps/webzmachine'...
remote: Counting objects: 497, done.
remote: Compressing objects: 100% (236/236), done.
Receiving objects: 100% (497/497), 1.03 MiB | 55 KiB/s, done.
Resolving deltas: 100% (324/324), done.
Submodule path 'deps/webzmachine': checked out
'c0ec721428944787a9fc2b2b103e99b463da3d17'
Andreas Stenius@NEO /c/Work/Mobitron/proj/zotonic (master)
$ git submodule status
816af03ec05ff257214f7e95de77d433565d8504 deps/gen_smtp (heads/master)
dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b deps/lager (0.9.4-37-gdc750f5)
c0ec721428944787a9fc2b2b103e99b463da3d17 deps/webzmachine
(remotes/origin/zotonic-0.8)
Andreas Stenius@NEO /c/Work/Mobitron/proj/zotonic (master)
$ cat .gitmodules
[submodule "deps/webzmachine"]
path = deps/webzmachine
url = git://github.com/zotonic/webzmachine.git
[submodule "deps/gen_smtp"]
path = deps/gen_smtp
url = git://github.com/zotonic/gen_smtp.git
[submodule "deps/lager"]
path = deps/lager
url = https://github.com/basho/lager.git
Note: I had some issues with the https of the lager module on my Mac,
and checked in a fix for it (using git:// instead). But that was on
the zynamo branch, apparently.
[https://github.com/zotonic/zotonic/commit/4c74c2a490ed78c8bcf4a256ac466d84378c6f8c]
You could try to clone the lager repo manually into a tmp dir or
something to see if it works for you.
//Andreas
2012/2/22 Simon Smithies <simon.s...@gmail.com>:
Noted, and fixed :)
Arjan
>
> - Simon
>
> On Thu, Feb 23, 2012 at 7:05 AM, Simon Smithies
> <simon.s...@gmail.com <mailto:simon.s...@gmail.com>> wrote:
>
> Hi Andreas,
>
> $ git submodule status
> 816af03ec05ff257214f7e95de77d433565d8504 deps/gen_smtp (heads/master)
> dc750f54173fc0f96a15dabdd4b6ec6f9d93de1b deps/lager
> -c0ec721428944787a9fc2b2b103e99b463da3d17 deps/webzmachine
>
> $ cat .gitmodules
> [submodule "deps/webzmachine"]
> path = deps/webzmachine
> url = git://github.com/zotonic/webzmachine.git
> <http://github.com/zotonic/webzmachine.git>
> [submodule "deps/gen_smtp"]
> path = deps/gen_smtp
> url = git://github.com/zotonic/gen_smtp.git
> <http://github.com/zotonic/gen_smtp.git>
> git://github.com/basho/lager.git <http://github.com/basho/lager.git>
> <http://github.com/zotonic/gen_smtp.git>)
> registered for path 'deps/gen_smtp'
> Submodule 'deps/lager' (https://github.com/basho/lager.git)
> registered
> for path 'deps/lager'
> Submodule 'deps/webzmachine'
> (git://github.com/zotonic/webzmachine.git
> <http://github.com/zotonic/webzmachine.git>) registered for path
> 'deps/webzmachine'
> fatal: destination path 'deps/gen_smtp' already exists and is not an
> empty directory.
> Clone of 'git://github.com/zotonic/gen_smtp.git
> <http://github.com/zotonic/gen_smtp.git>' into submodule path
> <http://github.com/zotonic/webzmachine.git>
> [submodule "deps/gen_smtp"]
> path = deps/gen_smtp
> url = git://github.com/zotonic/gen_smtp.git
> <http://github.com/zotonic/gen_smtp.git>
> [submodule "deps/lager"]
> path = deps/lager
> url = https://github.com/basho/lager.git
>
> Note: I had some issues with the https of the lager module on my
> Mac,
> and checked in a fix for it (using git:// instead). But that was on
> the zynamo branch, apparently.
> [https://github.com/zotonic/zotonic/commit/4c74c2a490ed78c8bcf4a256ac466d84378c6f8c]
>
> You could try to clone the lager repo manually into a tmp dir or
> something to see if it works for you.
>
>
> //Andreas
>
> 2012/2/22 Simon Smithies <simon.s...@gmail.com
> <mailto:simon.s...@gmail.com>>: