mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
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>
This commit is contained in:
committed by
Junio C Hamano
parent
6b516d984b
commit
1f5c74f6cf
@@ -6,7 +6,6 @@ struct revindex_entry {
|
||||
unsigned int nr;
|
||||
};
|
||||
|
||||
void init_pack_revindex(void);
|
||||
struct revindex_entry *find_pack_revindex(struct packed_git *p, off_t ofs);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user