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

Re: Local clone/fetch with cogito is glacial

From
HAH. Peter Anvin <hpa@zytor.com>
Date
May 22, 2006, 22:23 UTC
Message-ID
<447239F0.9030705@zytor.com>
In-Reply-To
<20060522220206.GA10488@pasky.or.cz>
Petr Baudis wrote:
Show 6 quoted lines
> 
> What about incremental fetches using git-fetch? From a quick scan of the
> git-fetch automagic tags following code, it seems to be even
> significantly more expensive than Cogito's (in terms of number of
> forks).
> 
Well, I haven't used git-fetch, so I can't comment on that one.
Show 6 quoted lines
> 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.

	-hpa
Previous: Petr BaudisNext: Petr Baudis
Message 5 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.