merge(third_party/git): Merge squashed git subtree at v2.23.0

Merge commit '1b593e1ea4' as 'third_party/git'
This commit is contained in:
Vincent Ambo 2020-01-11 23:36:56 +00:00
commit 7ef0d62730
3629 changed files with 1139935 additions and 0 deletions

16
third_party/git/pack-revindex.h vendored Normal file
View file

@ -0,0 +1,16 @@
#ifndef PACK_REVINDEX_H
#define PACK_REVINDEX_H
struct packed_git;
struct revindex_entry {
off_t offset;
unsigned int nr;
};
int load_pack_revindex(struct packed_git *p);
int find_revindex_position(struct packed_git *p, off_t ofs);
struct revindex_entry *find_pack_revindex(struct packed_git *p, off_t ofs);
#endif