archive: handle commits with an empty tree
[git/jnareb-git.git] / pack-revindex.h
blob8d5027ad917224f689e786e9a0b4e9a387e59dfe
1 #ifndef PACK_REVINDEX_H
2 #define PACK_REVINDEX_H
4 struct revindex_entry {
5 off_t offset;
6 unsigned int nr;
7 };
9 struct revindex_entry *find_pack_revindex(struct packed_git *p, off_t ofs);
10 void discard_revindex(void);
12 #endif