Re: [PATCH 6/6] pack-objects: reuse deltas for thin "have" objects

2014-03-27 Thread Eric Sunshine
On Wed, Mar 26, 2014 at 3:23 AM, Jeff King wrote: > When we calculate the "wants" and "haves" for a pack, we > only add the objects in the boundary commits as preferred > bases. However, we know that every object reachable from the > "haves" could be a preferred base. > > We probably don't want to

[PATCH 6/6] pack-objects: reuse deltas for thin "have" objects

2014-03-26 Thread Jeff King
When we calculate the "wants" and "haves" for a pack, we only add the objects in the boundary commits as preferred bases. However, we know that every object reachable from the "haves" could be a preferred base. We probably don't want to add these to our preferred base list, because they would clog