Hi,

I have a problem updating the git submodules when doing this from behind a 
HTTP-only proxy.

Cloning (git clone http://repo.or.cz/r/openocd.git) works fine. Next step 
(./bootstrap) is also ok. However, the following step shows that a mixture of 
http and git protocol is used:

> git submodule init
> Submodule 'jimtcl' (http://repo.or.cz/r/jimtcl.git) registered for path 
> jimtcl'
> Submodule 'tools/git2cl' (git://repo.or.cz/git2cl.git) registered for path 
> 'tools/git2cl'

The next step (git submodule update) fails on the git2cl submodule.
> Cloning into tools/git2cl...
> fatal: Unable to look up repo.or.cz (port 9418) (Name or service not known)
> Clone of 'git://repo.or.cz/git2cl.git' into submodule path 'tools/git2cl' 
> failed


My workaround is to manually edit .git/config before the update. I replaced 
this section
> [submodule "tools/git2cl"]
>       url = git://repo.or.cz/git2cl.git

by

> [submodule "tools/git2cl"]
>       url = http://repo.or.cz/r/git2cl.git

Regards,
Rolf



_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to