#define USE_THE_REPOSITORY_VARIABLE
#include "git-compat-util.h"
#include "gettext.h"
#include "hex.h"
#include "walker.h"
#include "repository.h"
#include "object-store-ll.h"
#include "commit.h"
#include "strbuf.h"
#include "tree.h"
#include "tree-walk.h"
#include "tag.h"
#include "blob.h"
#include "refs.h"
#include "progress.h"
static struct object_id current_commit_oid;
void walker_say(struct walker *walker, const char *fmt, ...)
{ … }
static void report_missing(const struct object *obj)
{ … }
static int process(struct walker *walker, struct object *obj);
static int process_tree(struct walker *walker, struct tree *tree)
{ … }
#define COMPLETE …
#define SEEN …
#define TO_SCAN …
static struct commit_list *complete = …;
static int process_commit(struct walker *walker, struct commit *commit)
{ … }
static int process_tag(struct walker *walker, struct tag *tag)
{ … }
static struct object_list *process_queue = …;
static struct object_list **process_queue_end = …;
static int process_object(struct walker *walker, struct object *obj)
{ … }
static int process(struct walker *walker, struct object *obj)
{ … }
static int loop(struct walker *walker)
{ … }
static int interpret_target(struct walker *walker, char *target, struct object_id *oid)
{ … }
static int mark_complete(const char *path UNUSED,
const char *referent UNUSED,
const struct object_id *oid,
int flag UNUSED,
void *cb_data UNUSED)
{ … }
int walker_targets_stdin(char ***target, const char ***write_ref)
{ … }
void walker_targets_free(int targets, char **target, const char **write_ref)
{ … }
int walker_fetch(struct walker *walker, int targets, char **target,
const char **write_ref, const char *write_ref_log_details)
{ … }
void walker_free(struct walker *walker)
{ … }