git/builtin/remote-fd.c

#include "builtin.h"
#include "transport.h"

static const char usage_msg[] =;

/*
 * URL syntax:
 *	'fd::<inoutfd>[/<anything>]'		Read/write socket pair
 *						<inoutfd>.
 *	'fd::<infd>,<outfd>[/<anything>]'	Read pipe <infd> and write
 *						pipe <outfd>.
 *	[foo] indicates 'foo' is optional. <anything> is any string.
 *
 * The data output to <outfd>/<inoutfd> should be passed unmolested to
 * git-receive-pack/git-upload-pack/git-upload-archive and output of
 * git-receive-pack/git-upload-pack/git-upload-archive should be passed
 * unmolested to <infd>/<inoutfd>.
 *
 */

#define MAXCOMMAND

static void command_loop(int input_fd, int output_fd)
{}

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