Ok it makes sense that I need at least one checkout of all the objects. But still it seems that when I branch and publish via http it wants to upload zillions of objects. For example see the attached webkit-http.txt log. I think there is some bug in the http push transport as if the transport is ssh it's much *much* faster: x61:~/aplix/webkit-test/webkit% git-config remote.origin.url ssh://git.webvm.net/srv/git/webkit x61:~/aplix/webkit-test/webkit% git push origin deleteme Counting objects: 5, done. Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 289 bytes, done. Total 3 (delta 2), reused 0 (delta 0) To ssh://git.webvm.net/srv/git/webkit * [new branch] deleteme -> deleteme x61:~/aplix/webkit-test/webkit% I need http:// to work as some of the engineers I work with are behind a "corporate firewall" that doesn't allow ssh://. Crazy, I know.
x61:~/aplix/webkit-test% git clone git://git.webvm.net/webkit Initialized empty Git repository in /home/hendry/aplix/webkit-test/webkit/.git/ remote: Counting objects: 406041, done. remote: Compressing objects: 100% (98138/98138), done. remote: Total 406041 (delta 295642), reused 398766 (delta 288407) Receiving objects: 100% (406041/406041), 440.93 MiB | 2484 KiB/s, done. Resolving deltas: 100% (295642/295642), done. Checking out files: 100% (44750/44750), done. x61:~/aplix/webkit-test% ll total 12K drwxr-xr-x 3 hendry hendry 4.0K 2008-04-08 13:39 ./ drwxr-xr-x 20 hendry hendry 4.0K 2008-04-08 13:22 ../ drwxr-xr-x 15 hendry hendry 4.0K 2008-04-08 13:54 webkit/ x61:~/aplix/webkit-test% cd webkit x61:~/aplix/webkit-test/webkit% vim .git/config x61:~/aplix/webkit-test/webkit% git-config remote.origin.url http://moto@xxxxxxxxxxxxxx/webkit.git x61:~/aplix/webkit-test/webkit% vim .git/config x61:~/aplix/webkit-test/webkit% ll total 220K drwxr-xr-x 15 hendry hendry 4.0K 2008-04-08 13:54 ./ drwxr-xr-x 3 hendry hendry 4.0K 2008-04-08 13:39 ../ -rwxr-xr-x 1 hendry hendry 1.6K 2008-04-08 13:54 autogen.sh* drwxr-xr-x 12 hendry hendry 4.0K 2008-04-08 13:54 BugsSite/ -rw-r--r-- 1 hendry hendry 104K 2008-04-08 13:54 ChangeLog -rw-r--r-- 1 hendry hendry 19K 2008-04-08 13:54 configure.ac drwxr-xr-x 8 hendry hendry 4.0K 2008-04-08 14:34 .git/ -rw-r--r-- 1 hendry hendry 9.6K 2008-04-08 13:54 GNUmakefile.am drwxr-xr-x 13 hendry hendry 4.0K 2008-04-08 13:54 JavaScriptCore/ drwxr-xr-x 7 hendry hendry 4.0K 2008-04-08 13:54 JavaScriptGlue/ drwxr-xr-x 18 hendry hendry 4.0K 2008-04-08 13:54 LayoutTests/ -rw-r--r-- 1 hendry hendry 1.1K 2008-04-08 13:54 Makefile -rw-r--r-- 1 hendry hendry 1.1K 2008-04-08 13:54 Makefile.shared drwxr-xr-x 3 hendry hendry 4.0K 2008-04-08 13:54 PageLoadTests/ drwxr-xr-x 5 hendry hendry 4.0K 2008-04-08 13:54 PlanetWebKit/ drwxr-xr-x 5 hendry hendry 4.0K 2008-04-08 13:54 SunSpider/ drwxr-xr-x 25 hendry hendry 4.0K 2008-04-08 13:54 WebCore/ drwxr-xr-x 9 hendry hendry 4.0K 2008-04-08 13:54 WebKit/ drwxr-xr-x 4 hendry hendry 4.0K 2008-04-08 13:54 WebKitLibraries/ -rw-r--r-- 1 hendry hendry 3.3K 2008-04-08 13:54 WebKit.pri -rw-r--r-- 1 hendry hendry 474 2008-04-08 13:54 WebKit.pro drwxr-xr-x 14 hendry hendry 4.0K 2008-04-08 13:54 WebKitSite/ drwxr-xr-x 19 hendry hendry 4.0K 2008-04-08 13:54 WebKitTools/ x61:~/aplix/webkit-test/webkit% git checkout -b deleteme Switched to a new branch "deleteme" x61:~/aplix/webkit-test/webkit% vim ChangeLog x61:~/aplix/webkit-test/webkit% git ci Created commit 4b56425: Test 1 files changed, 1 insertions(+), 0 deletions(-) x61:~/aplix/webkit-test/webkit% git push origin deleteme Fetching remote heads... refs/ refs/heads/ refs/heads/origin/ refs/remotes/ refs/remotes/webkit/ refs/remotes/origin/ refs/remotes/debian/ refs/tags/ updating 'refs/heads/deleteme' from 0000000000000000000000000000000000000000 to 4b5642541a73f105cf6e99b0b0c4ee00f0b869c2 sending 29257 objects