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, 23:08 UTC
Message-ID
<20060522230841.GM11941@pasky.or.cz>
In-Reply-To
<4472432A.8010002@zytor.com>

Dear diary, on Tue, May 23, 2006 at 01:03:06AM CEST, I got a letter where "H. Peter Anvin" <hpa@zytor.com> said that...

Show 10 quoted lines
> Petr Baudis wrote:
> >
> >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. :-(
> >
> 
> No, but git-fetch-pack could operate over a local pipe just fine (after 
> all, all it does is ssh an "git-send-pack" command to the other side.)

Yes, but in that case it couldn't hardlink the objects so you would see quite a big bump in disk usage if you have many local clones of the same repo.

That said, hardlinking is probably not all that big an advantage if you repack often, repack everywhere, and in the many-repositories cases it might be more sensible to use alternates (which is what cg-clone -l should really do instead of symlinking), so it might be well worth the sacrifice.

-- 
				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: Linus Torvalds
Message 8 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.