index-pack: rationalize unpack_entry_data()
commit7ce4721ad8c65ab4d9a9e94176001f12bb4b5218
authorNicolas Pitre <nico@fluxnic.net>
Mon, 12 Apr 2010 16:12:06 +0000 (12 12:12 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Apr 2010 16:51:42 +0000 (12 09:51 -0700)
treed3ffe9a9e039ec81d4da6a34a8548d683ea4493b
parent776ea3707a0248b9d36d696ee92beeeac5ccf1a1
index-pack: rationalize unpack_entry_data()

Rework the loop to remove duplicated calls to use() and fill(), and
to make the code easier to read.

Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-index-pack.c