From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Baudis Subject: Re: Local clone/fetch with cogito is glacial Date: Tue, 23 May 2006 00:50:54 +0200 Message-ID: <20060522225054.GL11941@pasky.or.cz> References: <4470FC21.6010104@zytor.com> <44722A8F.9020609@zytor.com> <20060522220206.GA10488@pasky.or.cz> <447239F0.9030705@zytor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Sean , git@vger.kernel.org X-From: git-owner@vger.kernel.org Tue May 23 00:50:57 2006 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FiJEj-0007Yu-2l for gcvg-git@gmane.org; Tue, 23 May 2006 00:50:53 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751288AbWEVWuu (ORCPT ); Mon, 22 May 2006 18:50:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751290AbWEVWuu (ORCPT ); Mon, 22 May 2006 18:50:50 -0400 Received: from w241.dkm.cz ([62.24.88.241]:9910 "EHLO machine.or.cz") by vger.kernel.org with ESMTP id S1751288AbWEVWuu (ORCPT ); Mon, 22 May 2006 18:50:50 -0400 Received: (qmail 10844 invoked by uid 2001); 23 May 2006 00:50:54 +0200 To: "H. Peter Anvin" Content-Disposition: inline In-Reply-To: <447239F0.9030705@zytor.com> X-message-flag: Outlook : A program to spread viri, but it can do mail too. User-Agent: Mutt/1.5.11 Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Dear diary, on Tue, May 23, 2006 at 12:23:44AM CEST, I got a letter where "H. Peter Anvin" said that... > 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.