fix same sized delta logic
commit9e2d57a04ac42c7450e78668ee7037b35d56f7c3
authorNicolas Pitre <nico@cam.org>
Thu, 30 Aug 2007 01:17:17 +0000 (29 21:17 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 31 Aug 2007 02:18:31 +0000 (30 19:18 -0700)
tree4698fc68b2c72968e8907cbdbbbb6f2e1178182a
parent55ced83d8aca98277c6a495932c57e6c3c45930b
fix same sized delta logic

The code favoring shallower deltas when size is equal was triggered
only when previous delta was also cached.  There should be no relation
between cached deltas and same sized deltas.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-pack-objects.c