Replace unpack_entry_gently with unpack_entry.
commit4d703a1a9016cd0a08994ddf7fc2f4739f223112
authorShawn O. Pearce <spearce@spearce.org>
Sat, 23 Dec 2006 07:33:25 +0000 (23 02:33 -0500)
committerJunio C Hamano <junkio@cox.net>
Fri, 29 Dec 2006 19:36:44 +0000 (29 11:36 -0800)
tree647905f5d3da11e06c7129b919e4e3cda6bde8a0
parent1ed4813f7d018eb35187209d43b98746a2e69542
Replace unpack_entry_gently with unpack_entry.

The unpack_entry_gently function currently has only two callers:
the delta base resolution in sha1_file.c and the main loop of
pack-check.c.  Both of these must change to using unpack_entry
directly when we implement sliding window mmap logic, so I'm doing
it earlier to help break down the change set.

This may cause a slight performance decrease for delta base
resolution as well as for pack-check.c's verify_packfile(), as
the pack use counter will be incremented and decremented for every
object that is unpacked.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
cache.h
pack-check.c
sha1_file.c