git/builtin/interpret-trailers.c

/*
 * Builtin "git interpret-trailers"
 *
 * Copyright (c) 2013, 2014 Christian Couder <[email protected]>
 *
 */
#define USE_THE_REPOSITORY_VARIABLE
#include "builtin.h"
#include "gettext.h"
#include "parse-options.h"
#include "string-list.h"
#include "tempfile.h"
#include "trailer.h"
#include "config.h"

static const char * const git_interpret_trailers_usage[] =;

static enum trailer_where where;
static enum trailer_if_exists if_exists;
static enum trailer_if_missing if_missing;

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

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

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

static void new_trailers_clear(struct list_head *trailers)
{}

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

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

static struct tempfile *trailers_tempfile;

static FILE *create_in_place_tempfile(const char *file)
{}

static void read_input_file(struct strbuf *sb, const char *file)
{}

static void interpret_trailers(const struct process_trailer_options *opts,
			       struct list_head *new_trailer_head,
			       const char *file)
{}

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