Code

optimize verify-pack a bit
authorNicolas Pitre <nico@cam.org>
Wed, 25 Jun 2008 03:17:12 +0000 (23:17 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Jun 2008 06:58:57 +0000 (23:58 -0700)
commit99093238bbf2cd886debf7bdb91478cb405ef66d
tree799a8766f4dc7d3414ac31200149ba9945b1c6c2
parent8e21d63b02f1b26f7695ca515e51e4622a995af2
optimize verify-pack a bit

Using find_pack_entry_one() to get object offsets is rather suboptimal
when nth_packed_object_offset() can be used directly.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
pack-check.c
sha1_file.c