Re: Question about your git habits

From: J.C. Pizarro
Date: Sat Feb 23 2008 - 08:37:50 EST


On 2008/2/23, Charles Bailey <charles@xxxxxxxxxxxxx> 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!!!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/