From: Junio C Hamano Date: Fri, 03 Sep 2010 17:03:15 GMT Subject: Re: git pack/unpack over bittorrent - works! Message-ID: <7vsk1qzrn0.fsf@alter.siamese.dyndns.org> In-Reply-To: Nicolas Pitre writes: >> 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.