Merge branch 'tb/pack-revindex-on-disk-cleanup'
Code clean-up. * tb/pack-revindex-on-disk-cleanup: packfile: make `close_pack_revindex()` static
This commit is contained in:
commit
79aee56c1e
@ -324,7 +324,8 @@ void close_pack_index(struct packed_git *p)
|
||||
}
|
||||
}
|
||||
|
||||
void close_pack_revindex(struct packed_git *p) {
|
||||
static void close_pack_revindex(struct packed_git *p)
|
||||
{
|
||||
if (!p->revindex_map)
|
||||
return;
|
||||
|
||||
|
@ -90,7 +90,6 @@ uint32_t get_pack_fanout(struct packed_git *p, uint32_t value);
|
||||
|
||||
unsigned char *use_pack(struct packed_git *, struct pack_window **, off_t, unsigned long *);
|
||||
void close_pack_windows(struct packed_git *);
|
||||
void close_pack_revindex(struct packed_git *);
|
||||
void close_pack(struct packed_git *);
|
||||
void close_object_store(struct raw_object_store *o);
|
||||
void unuse_pack(struct pack_window **);
|
||||
|
Loading…
Reference in New Issue
Block a user