git/builtin/revert.c

#define USE_THE_REPOSITORY_VARIABLE
#include "git-compat-util.h"
#include "builtin.h"
#include "parse-options.h"
#include "diff.h"
#include "gettext.h"
#include "revision.h"
#include "rerere.h"
#include "sequencer.h"
#include "branch.h"

/*
 * This implements the builtins revert and cherry-pick.
 *
 * Copyright (c) 2007 Johannes E. Schindelin
 *
 * Based on git-revert.sh, which is
 *
 * Copyright (c) 2005 Linus Torvalds
 * Copyright (c) 2005 Junio C Hamano
 */

static const char * const revert_usage[] =;

static const char * const cherry_pick_usage[] =;

static const char *action_name(const struct replay_opts *opts)
{}

static const char * const *revert_or_cherry_pick_usage(struct replay_opts *opts)
{}

enum empty_action {};

static int parse_opt_empty(const struct option *opt, const char *arg, int unset)
{}

static int option_parse_m(const struct option *opt,
			  const char *arg, int unset)
{}

LAST_ARG_MUST_BE_NULL
static void verify_opt_compatible(const char *me, const char *base_opt, ...)
{}

static int run_sequencer(int argc, const char **argv, const char *prefix,
			 struct replay_opts *opts)
{}

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

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