Code

unpack-objects: read configuration data upon startup.
authorJunio C Hamano <junkio@cox.net>
Mon, 17 Jul 2006 22:10:10 +0000 (15:10 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 25 Jul 2006 21:15:48 +0000 (14:15 -0700)
commit8e27364128b091e76059229d4f009bc7f869fa9f
tree057b9699f182904c9e85e153bc10f8117a8941a3
parentceec1361ebbc4613813ba42976503f5e304cfacf
unpack-objects: read configuration data upon startup.

With this, unpack-objects will write out the loose objects with
new-style headers when core.legacyheaders configuration is set
to false.

One unfortunate thing is that we still need inflate/deflate cycle
when unpacking, even for objects in the pack stream that are not
deltified, because it is not possible to determine the boundary of
objects in the encoded stream cheaply without inflating it first.

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