[Openocd-development] git submodule failure behind HTTP-only proxy

2010-12-01 Thread Rolf Meeser
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

Re: [Openocd-development] git submodule failure behind HTTP-only proxy

2010-12-01 Thread Øyvind Harboe
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

Re: [Openocd-development] git submodule failure behind HTTP-only proxy

2010-12-01 Thread Austin, Alex
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

Re: [Openocd-development] git submodule failure behind HTTP-only proxy

2010-12-01 Thread Peter Stuge
Ø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,

Re: [Openocd-development] git submodule failure behind HTTP-only proxy

2010-12-01 Thread Peter Stuge
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