git/git.c

#define USE_THE_REPOSITORY_VARIABLE

#include "builtin.h"
#include "config.h"
#include "environment.h"
#include "exec-cmd.h"
#include "gettext.h"
#include "help.h"
#include "object-file.h"
#include "pager.h"
#include "read-cache-ll.h"
#include "run-command.h"
#include "alias.h"
#include "replace-object.h"
#include "setup.h"
#include "attr.h"
#include "shallow.h"
#include "trace.h"
#include "trace2.h"

#define RUN_SETUP
#define RUN_SETUP_GENTLY
#define USE_PAGER
/*
 * require working tree to be present -- anything uses this needs
 * RUN_SETUP for reading from the configuration file.
 */
#define NEED_WORK_TREE
#define DELAY_PAGER_CONFIG
#define NO_PARSEOPT

struct cmd_struct {};

const char git_usage_string[] =);

const char git_more_info_string[] =);

static int use_pager =;

static void list_builtins(struct string_list *list, unsigned int exclude_option);

static void exclude_helpers_from_list(struct string_list *list)
{}

static int match_token(const char *spec, int len, const char *token)
{}

static int list_cmds(const char *spec)
{}

static void commit_pager_choice(void)
{}

void setup_auto_pager(const char *cmd, int def)
{}

static void print_system_path(const char *path)
{}

static int handle_options(const char ***argv, int *argc, int *envchanged)
{}

static int handle_alias(int *argcp, const char ***argv)
{}

static int run_builtin(struct cmd_struct *p, int argc, const char **argv, struct repository *repo)
{}

static struct cmd_struct commands[] =;

static struct cmd_struct *get_builtin(const char *s)
{}

int is_builtin(const char *s)
{}

static void list_builtins(struct string_list *out, unsigned int exclude_option)
{}

void load_builtin_commands(const char *prefix, struct cmdnames *cmds)
{}

#ifdef STRIP_EXTENSION
static void strip_extension(const char **argv)
{
	size_t len;

	if (strip_suffix(argv[0], STRIP_EXTENSION, &len))
		argv[0] = xmemdupz(argv[0], len);
}
#else
#define strip_extension(cmd)
#endif

static void handle_builtin(int argc, const char **argv)
{}

static void execv_dashed_external(const char **argv)
{}

static int run_argv(int *argcp, const char ***argv)
{}

int cmd_main(int argc, const char **argv)
{}