git/builtin/rev-list.c

#define USE_THE_REPOSITORY_VARIABLE
#include "builtin.h"
#include "config.h"
#include "commit.h"
#include "diff.h"
#include "environment.h"
#include "gettext.h"
#include "hex.h"
#include "revision.h"
#include "list-objects.h"
#include "list-objects-filter-options.h"
#include "object.h"
#include "object-name.h"
#include "object-file.h"
#include "object-store-ll.h"
#include "pack-bitmap.h"
#include "log-tree.h"
#include "graph.h"
#include "bisect.h"
#include "progress.h"
#include "reflog-walk.h"
#include "oidset.h"
#include "packfile.h"

static const char rev_list_usage[] =
;

static struct progress *progress;
static unsigned progress_counter;

static struct oidset omitted_objects;
static int arg_print_omitted; /* print objects omitted by filter */

static struct oidset missing_objects;
enum missing_action {};
static enum missing_action arg_missing_action;

/* display only the oid of each object encountered */
static int arg_show_object_names =;

#define DEFAULT_OIDSET_SIZE

static int show_disk_usage;
static off_t total_disk_usage;
static int human_readable;

static off_t get_object_disk_usage(struct object *obj)
{}

static inline void finish_object__ma(struct object *obj)
{}

static void finish_commit(struct commit *commit)
{}

static void show_commit(struct commit *commit, void *data)
{}

static int finish_object(struct object *obj, const char *name UNUSED,
			 void *cb_data)
{}

static void show_object(struct object *obj, const char *name, void *cb_data)
{}

static void show_edge(struct commit *commit)
{}

static void print_var_str(const char *var, const char *val)
{}

static void print_var_int(const char *var, int val)
{}

static int show_bisect_vars(struct rev_list_info *info, int reaches, int all)
{}

static int show_object_fast(
	const struct object_id *oid,
	enum object_type type UNUSED,
	int exclude UNUSED,
	uint32_t name_hash UNUSED,
	struct packed_git *found_pack UNUSED,
	off_t found_offset UNUSED)
{}

static void print_disk_usage(off_t size)
{}

static inline int parse_missing_action_value(const char *value)
{}

static int try_bitmap_count(struct rev_info *revs,
			    int filter_provided_objects)
{}

static int try_bitmap_traversal(struct rev_info *revs,
				int filter_provided_objects)
{}

static int try_bitmap_disk_usage(struct rev_info *revs,
				 int filter_provided_objects)
{}

int cmd_rev_list(int argc,
		 const char **argv,
		 const char *prefix,
		 struct repository *repo UNUSED)
{}