git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Kai Hendry" <hendry@aplixcorp.com>
To: "Avery Pennarun" <apenwarr@gmail.com>
Cc: "Junio C Hamano" <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: Integration branching
Date: Tue, 8 Apr 2008 14:56:53 +0100	[thread overview]
Message-ID: <b24851260804080656u4c42c31cv3984fa2943d83b8a@mail.gmail.com> (raw)
In-Reply-To: <32541b130804071132q24acff6an853730af4fc7273e@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 880 bytes --]

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.

[-- Attachment #2: webkit-http.txt --]
[-- Type: text/plain, Size: 2993 bytes --]

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@moto.webvm.net/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

  reply	other threads:[~2008-04-08 13:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-07 13:02 Integration branching Kai Hendry
2008-04-07 17:41 ` Junio C Hamano
2008-04-07 18:18   ` Kai Hendry
2008-04-07 18:32     ` Avery Pennarun
2008-04-08 13:56       ` Kai Hendry [this message]
2008-04-08 18:49         ` Junio C Hamano
2008-04-08 19:01           ` Mike Hommey
2008-04-08 20:32             ` Kai Hendry
2008-04-08 20:43               ` Mike Hommey
2008-04-10 20:04                 ` Mike Hommey
2008-04-07 18:44     ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b24851260804080656u4c42c31cv3984fa2943d83b8a@mail.gmail.com \
    --to=hendry@aplixcorp.com \
    --cc=apenwarr@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).