#define USE_THE_REPOSITORY_VARIABLE #include "git-compat-util.h" #include "tag.h" #include "commit.h" #include "gettext.h" #include "hex.h" #include "tree.h" #include "blob.h" #include "diff.h" #include "tree-walk.h" #include "revision.h" #include "list-objects.h" #include "list-objects-filter.h" #include "list-objects-filter-options.h" #include "packfile.h" #include "object-store-ll.h" #include "trace.h" #include "environment.h" struct traversal_context { … }; static void show_commit(struct traversal_context *ctx, struct commit *commit) { … } static void show_object(struct traversal_context *ctx, struct object *object, const char *name) { … } static void process_blob(struct traversal_context *ctx, struct blob *blob, struct strbuf *path, const char *name) { … } static void process_tree(struct traversal_context *ctx, struct tree *tree, struct strbuf *base, const char *name); static void process_tree_contents(struct traversal_context *ctx, struct tree *tree, struct strbuf *base) { … } static void process_tree(struct traversal_context *ctx, struct tree *tree, struct strbuf *base, const char *name) { … } static void process_tag(struct traversal_context *ctx, struct tag *tag, const char *name) { … } static void mark_edge_parents_uninteresting(struct commit *commit, struct rev_info *revs, show_edge_fn show_edge) { … } static void add_edge_parents(struct commit *commit, struct rev_info *revs, show_edge_fn show_edge, struct oidset *set) { … } void mark_edges_uninteresting(struct rev_info *revs, show_edge_fn show_edge, int sparse) { … } static void add_pending_tree(struct rev_info *revs, struct tree *tree) { … } static void traverse_non_commits(struct traversal_context *ctx, struct strbuf *base) { … } static void do_traverse(struct traversal_context *ctx) { … } void traverse_commit_list_filtered( struct rev_info *revs, show_commit_fn show_commit, show_object_fn show_object, void *show_data, struct oidset *omitted) { … }