diff --git a/local-fetch.c b/local-fetch.c
index 0931109143e0ce1c2f03f654b3ab67965220011a..a05ac16cd03df8a07fd51b3b6df7735141152065 100644 (file)
--- a/local-fetch.c
+++ b/local-fetch.c
}
static const char local_pull_usage[] =
-"git-local-fetch [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [-l] [-s] [-n] commit-id path";
+"git-local-fetch [-c] [-t] [-a] [-v] [-w filename] [--recover] [-l] [-s] [-n] commit-id path";
-/*
+/*
* By default we only use file copy.
* If -l is specified, a hard link is attempted.
* If -s is specified, then a symlink is attempted.
char *commit_id;
int arg = 1;
+ setup_git_directory();
+ git_config(git_default_config);
+
while (arg < argc && argv[arg][0] == '-') {
if (argv[arg][1] == 't')
get_tree = 1;
usage(local_pull_usage);
commit_id = argv[arg];
path = argv[arg + 1];
+ write_ref_log_details = path;
if (pull(commit_id))
return 1;