#include "git-compat-util.h"
#include "gettext.h"
#include "hex.h"
#include "oidmap.h"
#include "object-store-ll.h"
#include "replace-object.h"
#include "refs.h"
#include "repository.h"
#include "commit.h"
static int register_replace_ref(const char *refname,
const char *referent UNUSED,
const struct object_id *oid,
int flag UNUSED,
void *cb_data)
{ … }
void prepare_replace_object(struct repository *r)
{ … }
#define MAXREPLACEDEPTH …
const struct object_id *do_lookup_replace_object(struct repository *r,
const struct object_id *oid)
{ … }
static int read_replace_refs = …;
void disable_replace_refs(void)
{ … }
int replace_refs_enabled(struct repository *r)
{ … }