git/builtin/bundle.c

#define USE_THE_REPOSITORY_VARIABLE
#include "builtin.h"
#include "abspath.h"
#include "gettext.h"
#include "setup.h"
#include "strvec.h"
#include "parse-options.h"
#include "pkt-line.h"
#include "bundle.h"

/*
 * Basic handler for bundle files to connect repositories via sneakernet.
 * Invocation must include action.
 * This function can create a bundle or provide information on an existing
 * bundle supporting "fetch", "pull", and "ls-remote".
 */

#define BUILTIN_BUNDLE_CREATE_USAGE
#define BUILTIN_BUNDLE_VERIFY_USAGE
#define BUILTIN_BUNDLE_LIST_HEADS_USAGE
#define BUILTIN_BUNDLE_UNBUNDLE_USAGE

static char const * const builtin_bundle_usage[] =;

static const char * const builtin_bundle_create_usage[] =;

static const char * const builtin_bundle_verify_usage[] =;

static const char * const builtin_bundle_list_heads_usage[] =;

static const char * const builtin_bundle_unbundle_usage[] =;

static int parse_options_cmd_bundle(int argc,
		const char **argv,
		const char* prefix,
		const char * const usagestr[],
		const struct option options[],
		char **bundle_file) {}

static int cmd_bundle_create(int argc, const char **argv, const char *prefix) {}

/*
 * Similar to read_bundle_header(), but handle "-" as stdin.
 */
static int open_bundle(const char *path, struct bundle_header *header,
		       const char **name)
{}

static int cmd_bundle_verify(int argc, const char **argv, const char *prefix) {}

static int cmd_bundle_list_heads(int argc, const char **argv, const char *prefix) {}

static int cmd_bundle_unbundle(int argc, const char **argv, const char *prefix) {}

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