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
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
This is not a workaround, it's a solution! :-)
The only
Personally, I prefer the git protocol if possible. It's much faster and has
lower overhead. I think the best idea would be to add .gitmodules to .gitignore
and have the bootstrap script modify .gitmodules to point to either git: or
http: depending on some user preference.
Øyvind Harboe
Øyvind Harboe wrote:
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
This is not a workaround,
Austin, Alex wrote:
Personally, I prefer the git protocol if possible. It's much faster
and has lower overhead.
This used to be very true. Please see
http://progit.org/2010/03/04/smart-http.html
//Peter
___
Openocd-development mailing list