git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Local clone/fetch with cogito is glacial

From
Petr Baudis <pasky@ucw.cz>
Date
May 22, 2006, 22:50 UTC
Message-ID
<20060522225054.GL11941@pasky.or.cz>
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...

Show 11 quoted lines
> 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.
Previous: H. Peter AnvinNext: H. Peter Anvin
Message 6 of 11 in “Local clone/fetch with cogito is glacial”
  1. H. Peter AnvinMay 21, 2006
  2. SeanMay 22, 2006
  3. H. Peter AnvinMay 22, 2006
  4. Petr BaudisMay 22, 2006
  5. H. Peter AnvinMay 22, 2006
  6. Petr BaudisMay 22, 2006
  7. H. Peter AnvinMay 22, 2006
  8. Petr BaudisMay 22, 2006
  9. Linus TorvaldsMay 22, 2006
  10. Petr BaudisMay 22, 2006
  11. Linus TorvaldsMay 22, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.