#define USE_THE_REPOSITORY_VARIABLE
#include "builtin.h"
#include "archive.h"
#include "path.h"
#include "pkt-line.h"
#include "sideband.h"
#include "run-command.h"
#include "strvec.h"
static const char upload_archive_usage[] = …;
static const char deadchild[] = …;
#define MAX_ARGS …
int cmd_upload_archive_writer(int argc,
const char **argv,
const char *prefix,
struct repository *repo UNUSED)
{ … }
__attribute__((format (printf, 1, 2)))
static void error_clnt(const char *fmt, ...)
{ … }
static ssize_t process_input(int child_fd, int band)
{ … }
int cmd_upload_archive(int argc,
const char **argv,
const char *prefix,
struct repository *repo UNUSED)
{ … }