Re: git pack/unpack over bittorrent - works!
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 3, 2010, 17:03 UTC
- Message-ID
- <7vsk1qzrn0.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <alpine.LFD.2.00.1009022033520.19366@xanadu.home>
Nicolas Pitre <nico@fluxnic.net> writes:
Show 6 quoted lines
>> i can - so that git pack-objects, after "git repack -f", returns a >> canonical pack! :) > > But did you try it? The -f means "don't reuse any existing pack data > and recompute every delta from scratch to find the best matches". This > is a very very costly operation that most people happily live without.
Also "the best matches" will change, hopefully in a better way, with newer vintage of git. Optimization like c83f032 (apply delta depth bias to already deltified objects, 2007-07-12) that is based on heuristics derived from empirical statistics can and should be allowed to happen.