git/refspec.c

#define USE_THE_REPOSITORY_VARIABLE

#include "git-compat-util.h"
#include "gettext.h"
#include "hash.h"
#include "hex.h"
#include "strvec.h"
#include "refs.h"
#include "refspec.h"
#include "strbuf.h"

/*
 * Parses the provided refspec 'refspec' and populates the refspec_item 'item'.
 * Returns 1 if successful and 0 if the refspec is invalid.
 */
static int parse_refspec(struct refspec_item *item, const char *refspec, int fetch)
{}

int refspec_item_init(struct refspec_item *item, const char *refspec, int fetch)
{}

void refspec_item_init_or_die(struct refspec_item *item, const char *refspec,
			      int fetch)
{}

void refspec_item_clear(struct refspec_item *item)
{}

void refspec_init(struct refspec *rs, int fetch)
{}

void refspec_append(struct refspec *rs, const char *refspec)
{}

void refspec_appendf(struct refspec *rs, const char *fmt, ...)
{}

void refspec_appendn(struct refspec *rs, const char **refspecs, int nr)
{}

void refspec_clear(struct refspec *rs)
{}

int valid_fetch_refspec(const char *fetch_refspec_str)
{}

int valid_remote_name(const char *name)
{}

void refspec_ref_prefixes(const struct refspec *rs,
			  struct strvec *ref_prefixes)
{}