From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carl Worth Subject: Re: Unresolved issues #2 (shallow clone again) Date: Fri, 05 May 2006 08:31:05 -0700 Message-ID: <8764kk7akm.wl%cworth@cworth.org> References: <7v64lcqz9j.fsf@assigned-by-dhcp.cox.net> <7v4q065hq0.fsf@assigned-by-dhcp.cox.net> <87mzdx7mh9.wl%cworth@cworth.org> <7v1wv92u7o.fsf@assigned-by-dhcp.cox.net> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Fri_May__5_08:30:58_2006-1"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Cc: Junio C Hamano , git@vger.kernel.org X-From: git-owner@vger.kernel.org Fri May 05 17:35:09 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 1Fc2KP-0003YX-Sj for gcvg-git@gmane.org; Fri, 05 May 2006 17:34:50 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751568AbWEEPeq (ORCPT ); Fri, 5 May 2006 11:34:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751566AbWEEPeq (ORCPT ); Fri, 5 May 2006 11:34:46 -0400 Received: from cworth.org ([217.160.249.188]:51420 "EHLO theworths.org") by vger.kernel.org with ESMTP id S1751135AbWEEPeq (ORCPT ); Fri, 5 May 2006 11:34:46 -0400 Received: (qmail 22981 invoked from network); 5 May 2006 11:34:42 -0400 Received: from localhost (HELO raht.cworth.org) (127.0.0.1) by localhost with SMTP; 5 May 2006 11:34:42 -0400 To: Linus Torvalds In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.4 Mule/5.0 (SAKAKI) Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: --pgp-sign-Multipart_Fri_May__5_08:30:58_2006-1 Content-Type: text/plain; charset=US-ASCII On Fri, 5 May 2006 08:10:50 -0700 (PDT), Linus Torvalds wrote: > > Namely just have a mode to "git-send-pack" that uses the "--no-walk" flag > to generate the object list to send. > > What that does is to never walk the object history: so it will just use > the "I HAVE THESE" and "I WANT THESE" commit references to directly > generate the list of commits, and then walks the trees to generate the > list of trees/blobs that differ between the particular end-points. Oh, I think that's a great idea. I had proposed cutting the WANT list down to a single commit, but I wasn't clever enough to think to also cut down the HAVE walking to solve the problems that would have been introduced by shallow clones. And I think the resulting behavior is quite reasonable. I think one can argue a sort of zero-one-infinity rule here. With history, either you don't care about any of it, or else you really should care about all of it. -Carl --pgp-sign-Multipart_Fri_May__5_08:30:58_2006-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBEW2+56JDdNq8qSWgRAjJ1AJ4/vzEbON0Ee729bqxE6Givq2kgpgCeNBMV 4SNmFWjntvbGwlOWqcxaeI8= =t4oJ -----END PGP SIGNATURE----- --pgp-sign-Multipart_Fri_May__5_08:30:58_2006-1--