call init_pack_revindex() lazily
authorNicolas Pitre <nico@cam.org>
Tue, 24 Jun 2008 01:22:14 +0000 (21:22 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 Jun 2008 04:25:20 +0000 (21:25 -0700)
commit1f5c74f6cf918d317c73b328dcd4cf6f55c44d8a
tree7baaadebece43244c5602da3e9a716e99c94fcdc
parent6b516d984bc72b359a14eeddfddca578cef52297
call init_pack_revindex() lazily

This makes life much easier for next patch, as well as being more efficient
when the revindex is actually not used.

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