Use git 1.6.6+ when using http (was: Git: Do not use http to access Git!)



On Thu, Feb 17, 2011 at 02:04:02PM +0100, Olav Vitters wrote:
> This requires some sysadmin work to setup (newer git, newer cgit, etc).
> Doing that atm, not sure when I'll finish.

This is really efficient. Cloning gnome-terminal only results in 2 hits:
62.195.108.47 - - [17/Feb/2011:14:24:14 +0000] "GET /browse/gnome-terminal/info/refs?service=git-upload-pack HTTP/1.1" 200 21538 "-" "git/1.7.4"
62.195.108.47 - - [17/Feb/2011:14:24:15 +0000] "POST /browse/gnome-terminal/git-upload-pack HTTP/1.1" 200 12218190 "-" "git/1.7.4"

And the speed is nice too:

$ git clone http://git.gnome.org/browse/gnome-terminal
Cloning into gnome-terminal...
remote: Counting objects: 22113, done.
remote: Compressing objects: 100% (6749/6749), done.
remote: Total 22113 (delta 17558), reused 19020 (delta 15302)
Receiving objects: 100% (22113/22113), 11.64 MiB | 1.35 MiB/s, done.
Resolving deltas: 100% (17558/17558), done.

I've blocked Git 1.6.5 and earlier (hopefully).

-- 
Regards,
Olav


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]