git/builtin/checkout-index.c

/*
 * Check-out files from the "current cache directory"
 *
 * Copyright (C) 2005 Linus Torvalds
 *
 */
#define USE_THE_REPOSITORY_VARIABLE
#include "builtin.h"
#include "config.h"
#include "gettext.h"
#include "lockfile.h"
#include "quote.h"
#include "cache-tree.h"
#include "parse-options.h"
#include "entry.h"
#include "parallel-checkout.h"
#include "read-cache-ll.h"
#include "setup.h"
#include "sparse-index.h"

#define CHECKOUT_ALL
static int nul_term_line;
static int checkout_stage; /* default to checkout stage0 */
static int ignore_skip_worktree; /* default to 0 */
static int to_tempfile =;
static char topath[4][TEMPORARY_FILENAME_LENGTH + 1];

static struct checkout state =;

static void write_tempfile_record(const char *name, const char *prefix)
{}

static int checkout_file(const char *name, const char *prefix)
{}

static int checkout_all(const char *prefix, int prefix_length)
{}

static const char * const builtin_checkout_index_usage[] =;

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

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