From: J.C. Pizarro Date: Sat, 23 Feb 2008 13:36:59 GMT Subject: Re: Question about your git habits Message-ID: <998d0e4a0802230536w74e93ec3s40c77d52b183a419@mail.gmail.com> In-Reply-To: <20080223131749.GA5811@hashpling.org> 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!!!