Re: Local clone/fetch with cogito is glacial
- From
- H. 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