mirror of
https://github.com/git/git
synced 2024-08-25 10:45:59 +00:00
![Nicolas Pitre](/assets/img/avatar_default.png)
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>
12 lines
194 B
C
12 lines
194 B
C
#ifndef PACK_REVINDEX_H
|
|
#define PACK_REVINDEX_H
|
|
|
|
struct revindex_entry {
|
|
off_t offset;
|
|
unsigned int nr;
|
|
};
|
|
|
|
struct revindex_entry *find_pack_revindex(struct packed_git *p, off_t ofs);
|
|
|
|
#endif
|