#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"
#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) { … }
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)
{ … }