summaryrefslogtreecommitdiff
path: root/pack-revindex.h
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2008-06-23 21:22:14 -0400
committerJunio C Hamano <gitster@pobox.com>2008-06-23 21:25:20 -0700
commit1f5c74f6cf918d317c73b328dcd4cf6f55c44d8a (patch)
tree7baaadebece43244c5602da3e9a716e99c94fcdc /pack-revindex.h
parent6b516d984bc72b359a14eeddfddca578cef52297 (diff)
downloadgit-1f5c74f6cf918d317c73b328dcd4cf6f55c44d8a.tar.gz
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>
Diffstat (limited to 'pack-revindex.h')
-rw-r--r--pack-revindex.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/pack-revindex.h b/pack-revindex.h
index c3527a7565..36a514a6cf 100644
--- a/pack-revindex.h
+++ b/pack-revindex.h
@@ -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