#define USE_THE_REPOSITORY_VARIABLE
#include "git-compat-util.h"
#include "hex.h"
#include "tree.h"
#include "object-name.h"
#include "object-store-ll.h"
#include "commit.h"
#include "alloc.h"
#include "tree-walk.h"
#include "repository.h"
#include "environment.h"
const char *tree_type = …;
int read_tree_at(struct repository *r,
struct tree *tree, struct strbuf *base,
int depth,
const struct pathspec *pathspec,
read_tree_fn_t fn, void *context)
{ … }
int read_tree(struct repository *r,
struct tree *tree,
const struct pathspec *pathspec,
read_tree_fn_t fn, void *context)
{ … }
int base_name_compare(const char *name1, size_t len1, int mode1,
const char *name2, size_t len2, int mode2)
{ … }
int df_name_compare(const char *name1, size_t len1, int mode1,
const char *name2, size_t len2, int mode2)
{ … }
int name_compare(const char *name1, size_t len1, const char *name2, size_t len2)
{ … }
struct tree *lookup_tree(struct repository *r, const struct object_id *oid)
{ … }
int parse_tree_buffer(struct tree *item, void *buffer, unsigned long size)
{ … }
int parse_tree_gently(struct tree *item, int quiet_on_missing)
{ … }
void free_tree_buffer(struct tree *tree)
{ … }
struct tree *parse_tree_indirect(const struct object_id *oid)
{ … }