Page 1 of 1

cannot use git

Posted: 01 Apr 2010 13:08
by Belbear
Hi,

I'm totally new here, hoping this forum is acceptable for my problem
I started trying to get vlc built using an MSYS/MinGW setup on Win XP, following the Win32CompileMSYSNew wiki.

I also have installed msysgit and tortoisegit to get vlc sources, but it cannot get anything.

The git:// protocol is barred for me by company firewall (port 9418 is closed), so I tried the http method

With http://git.videolan.org/git/vlc.git as source path I got the following error:
fatal: http://git.videolan.org/git/vlc.git/info/refs not found: did you run git update-server-info on the server?

Can anyone help me with the path or git settings?

Re: cannot use git

Posted: 01 Apr 2010 22:08
by Rémi Denis-Courmont
Use the git protocol. HTTP is loosy.

Re: cannot use git

Posted: 02 Apr 2010 11:26
by Belbear
Use the git protocol. HTTP is loosy.
I would, if it worked. Company firewall is blocking the git port (among all other "not so well known" ports. And there are no exception requests accepted.

Re: cannot use git

Posted: 07 Apr 2010 19:49
by Rémi Denis-Courmont
git over HTTP is crap. For a start, it's highly inefficient. Then it requires specific extra setup on the server, which typically fails to work because most people use git and don't test HTTP.

Bottom line: use the native git protocol.

Is that more helpful?

Re: cannot use git

Posted: 07 Apr 2010 22:43
by Belbear
git over HTTP is crap. For a start, it's highly inefficient. Then it requires specific extra setup on the server, which typically fails to work because most people use git and don't test HTTP.

Bottom line: use the native git protocol.

Is that more helpful?
Helpful in the way that anyone behind a company firewall like me can only get a two word answer: "game over"
Well, I can use git at home. Good thing there are usb sticks.

Re: cannot use git

Posted: 24 Jun 2010 18:34
by rogerdpack
git over HTTP with newer versions of git is now super speedy:
http://github.com/blog/642-smart-http-support
http://progit.org/2010/03/04/smart-http.html

And still doesn't really work (I get the "refs" message too). Would it be possible to get this working?
Until then I can still get around the proxy by forwarding port 9418 to some host that has external access, like

ssh user@somewhere -L9418: -L9418:git.videolan.org:9418

(leave it running while you do the following)
git clone git://localhost/vlc.git

GL.
-r