pack-objects: reuse deflated data from new-style loose objects.
authorJunio C Hamano <junkio@cox.net>
Mon, 17 Jul 2006 22:06:23 +0000 (15:06 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 25 Jul 2006 21:15:48 +0000 (14:15 -0700)
commitceec1361ebbc4613813ba42976503f5e304cfacf
tree63c317e6e9c6598fcd03fdc07e07cbed7f882d9a
parentbb6b8e4f877e8b59b3756960e29d1955072dab56
pack-objects: reuse deflated data from new-style loose objects.

When packing an object without deltifying, if the data is stored in
a loose object that is encoded with a new style header, copy it without
inflating and deflating.

Signed-off-by: Junio C Hamano <junkio@cox.net>
pack-objects.c