#include "git-compat-util.h"
#include "object.h"
#include "pack.h"
#include "pack-objects.h"
#include "packfile.h"
#include "parse.h"
static uint32_t locate_object_entry_hash(struct packing_data *pdata,
const struct object_id *oid,
int *found)
{ … }
static inline uint32_t closest_pow2(uint32_t v)
{ … }
static void rehash_objects(struct packing_data *pdata)
{ … }
struct object_entry *packlist_find(struct packing_data *pdata,
const struct object_id *oid)
{ … }
static void prepare_in_pack_by_idx(struct packing_data *pdata)
{ … }
void oe_map_new_pack(struct packing_data *pack)
{ … }
void prepare_packing_data(struct repository *r, struct packing_data *pdata)
{ … }
void clear_packing_data(struct packing_data *pdata)
{ … }
struct object_entry *packlist_alloc(struct packing_data *pdata,
const struct object_id *oid)
{ … }
void oe_set_delta_ext(struct packing_data *pdata,
struct object_entry *delta,
const struct object_id *oid)
{ … }