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 01:08:41 +0200 [thread overview]
Message-ID: <20060522230841.GM11941@pasky.or.cz> (raw)
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...
> 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.
next prev parent reply other threads:[~2006-05-22 23:08 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
2006-05-22 23:03 ` H. Peter Anvin
2006-05-22 23:08 ` Petr Baudis [this message]
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=20060522230841.GM11941@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