static int fetch_all;
static int depth;
static const char fetch_pack_usage[] =
-"git-fetch-pack [--all] [-q] [-v] [-k] [--thin] [--exec=upload-pack] [--depth=<n>] [host:]directory <refs>...";
+"git-fetch-pack [--all] [--quiet|-q] [--keep|-k] [--thin] [--exec=<git-upload-pack>] [--depth=<n>] [-v] [<host>:]<directory> [<refs>...]";
static const char *exec = "git-upload-pack";
#define COMPLETE (1U << 0)
return dst;
}
+static struct lock_file lock;
+
int main(int argc, char **argv)
{
int i, ret, nr_heads;
int fd[2];
pid_t pid;
struct stat st;
- struct lock_file lock;
setup_git_directory();