Git development
 help / color / mirror / Atom feed
From: Petr Baudis <pasky@ucw.cz>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: Sean <seanlkml@sympatico.ca>, git@vger.kernel.org
Subject: Re: Local clone/fetch with cogito is glacial
Date: Tue, 23 May 2006 00:50:54 +0200	[thread overview]
Message-ID: <20060522225054.GL11941@pasky.or.cz> (raw)
In-Reply-To: <447239F0.9030705@zytor.com>

Dear diary, on Tue, May 23, 2006 at 12:23:44AM CEST, I got a letter
where "H. Peter Anvin" <hpa@zytor.com> said that...
> Petr Baudis wrote:
> >git-clone has an advantage here since it clones _everything_ while
> >Cogito fetches only stuff related to the branch you are cloning, and
> >verifying if what it fetches is sensible for you unfortunately takes a
> >lot of time. :/ I guess there is no way to verify presence of multiple
> >objects at once and there is also no way to order local fetch of
> >multiple objects at once.
> 
> Note that non-local cg-clones are at least an order of magnitude faster, 
> even when the nonlocal is just git+ssh:.  One could presumably do the same 
> thing over a pipe.

Even rsync and HTTP cg-clones? git:// and git+ssh:// fetching follows an
almost entirely different code patch and it's much more efficient since
I just accumulate the tag object ids I want to check and then pour them
to git-fetch-pack - I cannot do that with git-(local|http)-fetch. :-(

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
Right now I am having amnesia and deja-vu at the same time.  I think
I have forgotten this before.

  reply	other threads:[~2006-05-22 22:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-21 23:47 Local clone/fetch with cogito is glacial H. Peter Anvin
     [not found] ` <20060521212026.22f36e03.seanlkml@sympatico.ca>
2006-05-22  1:20   ` Sean
2006-05-22 21:18     ` H. Peter Anvin
2006-05-22 22:02       ` Petr Baudis
2006-05-22 22:23         ` H. Peter Anvin
2006-05-22 22:50           ` Petr Baudis [this message]
2006-05-22 23:03             ` H. Peter Anvin
2006-05-22 23:08               ` Petr Baudis
2006-05-22 23:18             ` Linus Torvalds
2006-05-22 23:24               ` Petr Baudis
2006-05-22  1:40 ` Linus Torvalds

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=20060522225054.GL11941@pasky.or.cz \
    --to=pasky@ucw.cz \
    --cc=git@vger.kernel.org \
    --cc=hpa@zytor.com \
    --cc=seanlkml@sympatico.ca \
    /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