Hi Bruce
Short version:
0. Using git on WinXP from
http://msysgit.googlecode.com/files/Git-1.5.5-preview20080413.exe
1. When a proxy is required, the error message isn't very helpful:
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?
2. I can't get git config to set the proxy
3. When I use a shell variable, I can set the proxy, but I still have
trouble cloning git over http.
John.
Long version:
I'm back behind my proxy.
I've tried
$ git config --global http.proxy http://proxyname:80
and
$ git config --global http.proxy proxyname:80
but neither seems to work:
$ git clone http://www.kernel.org/pub/scm/git/git.git git2
Initialized empty Git repository in c:/[path]/git2/.git/
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?
When I try
$ export http_proxy=http://proxyname:80
then the following at least starts to work:
$ git clone http://www.kernel.org/pub/scm/git/git.git git
$ git clone http://www.kernel.org/pub/scm/git/git.git git2
Initialized empty Git repository in c:/[path]/git2/.git/
got 7562b87f6fcfb31a5fa52d2edfe866b5f1ee08d5
walk 7562b87f6fcfb31a5fa52d2edfe866b5f1ee08d5
got d47c7c24b429eac4bacc107c0b5e2987db40f04a
got 71910874a081be5196ae122c8d0b6024ec3afa5e
walk d47c7c24b429eac4bacc107c0b5e2987db40f04a
Getting alternates list for http://www.kernel.org/pub/scm/git/git.git
Getting pack list for http://www.kernel.org/pub/scm/git/git.git
Getting index for pack f7be43530c5b167d6eff8e1d4ee72d7c98aa6710
Getting index for pack 38b949b3b9446f6ef31fe3bc5a70b09cf8cc5c82
Getting index for pack 535070eccfdc5b080d4b38e682f66b357f3cb4bd
got 89fa6d03bc038d6210e94d7fe9fbbffdbc84d883
Getting index for pack fb9e204382bfea5b1821f19b7a9e82d0e5be8498
got 02823413987d5a10364d936327e3a1cfb38cbac2
[snip]
Getting pack 17d608d0bea63b7c5b68bccd1515e9c5ac0961c5
which contains 859d67990a62049c2f328dfd676cf21da8ff9a27
got 1afd0c69ed823f419f52951c3c02dcc50f1a44d1
got ...