From mboxrd@z Thu Jan 1 00:00:00 1970 From: "J.C. Pizarro" Subject: Re: Question about your git habits Date: Sat, 23 Feb 2008 14:36:59 +0100 Message-ID: <998d0e4a0802230536w74e93ec3s40c77d52b183a419@mail.gmail.com> References: <200802221837.37680.chase.venters@clientec.com> <20080223014445.GK27894@ZenIV.linux.org.uk> <7vfxvk4f07.fsf@gitster.siamese.dyndns.org> <20080223020913.GL27894@ZenIV.linux.org.uk> <998d0e4a0802221823h3ba53097gf64fcc2ea826302b@mail.gmail.com> <998d0e4a0802221847m431aa136xa217333b0517b962@mail.gmail.com> <20080223113952.GA4936@hashpling.org> <998d0e4a0802230508w12f236baiaf2d9ab5f364670a@mail.gmail.com> <20080223131749.GA5811@hashpling.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit To: "Charles Bailey" , LKML , git@vger.kernel.org X-From: git-owner@vger.kernel.org Sat Feb 23 14:38:17 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1JSua1-0005EJ-7j for gcvg-git-2@gmane.org; Sat, 23 Feb 2008 14:38:17 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753832AbYBWNhE (ORCPT ); Sat, 23 Feb 2008 08:37:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753847AbYBWNhE (ORCPT ); Sat, 23 Feb 2008 08:37:04 -0500 Received: from ti-out-0910.google.com ([209.85.142.184]:47227 "EHLO ti-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753749AbYBWNhB (ORCPT ); Sat, 23 Feb 2008 08:37:01 -0500 Received: by ti-out-0910.google.com with SMTP id 28so512224tif.23 for ; Sat, 23 Feb 2008 05:36:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=xJjDOy6zShQuzJLo07A/F2KYLWKrtNEWhIfNMHZO7rc=; b=NjIrj0ca6zP0gFoxdFTFK0F2I5YPJITjC060TTztR1ExpzFsHQ2kz+AzojlTr9khSxbsew3RjMPgYksUBKherWtcB9jpspB08CreF8b0fSyeNtaMZ0ek9aM8RQnDblTIlhQQj1vTQMrHLk6X3mHbtxNEONGaU1SDCpUJLYOSwRk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=R39/cM3xSzwYw5H9Gi6Og/EaTLVs1ChPusfT4F9ystuMnkNN2TMd4dT2GtD03L4pEHJxTMab6OMLGW4Z6cOgkmTozgANiiWsWxzo3ZZWeIRL0b6K/cZeiQFqPg4GMTEQ89k4PTL9guqvqG7IpSE0+ISxha9uyYs4eDOagogJuDc= Received: by 10.110.62.14 with SMTP id k14mr123755tia.5.1203773819429; Sat, 23 Feb 2008 05:36:59 -0800 (PST) Received: by 10.70.40.12 with HTTP; Sat, 23 Feb 2008 05:36:59 -0800 (PST) In-Reply-To: <20080223131749.GA5811@hashpling.org> Content-Disposition: inline Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On 2008/2/23, Charles Bailey wrote: > On Sat, Feb 23, 2008 at 02:08:35PM +0100, J.C. Pizarro wrote: > > > > But if the repos are aggressively repacked then the bit to bit differences > > are not ~2 MiB. > > > It shouldn't matter how aggressively the repositories are packed or what > the binary differences are between the pack files are. git clone > should (with the --reference option) generate a new pack for you with > only the missing objects. If these objects are ~52 MiB then a lot has > been committed to the repository, but you're not going to be able to > get around a big download any other way. You're wrong, nothing has to be commited ~52 MiB to the repository. I'm not saying "commit", i'm saying "Assume A & B binary git repos and delta_B-A another binary file, i request built B' = A + delta_B-A where is verified SHA1(B') = SHA1(B) for avoiding corrupting". Assume B is the higher repacked version of "A + minor commits of the day" as if B was optimizing 24 hours more the minimum spanning tree. Wow!!!