aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2006-07-27 20:58:53 +0200
committerJunio C Hamano <junkio@cox.net>2006-07-27 14:21:03 -0700
commitcc41cd2e60da8224dcd04f23d837853cff5d4eda (patch)
tree62ea190d0410e49ba3b53f396e0486af3ff5dba7
parent6c35119ac711c69c69874d7d52f5cfa12c07ccce (diff)
downloadgit-cc41cd2e60da8224dcd04f23d837853cff5d4eda.tar.gz
git-cc41cd2e60da8224dcd04f23d837853cff5d4eda.tar.xz
Remove -d from *-fetch usage strings
This is a really ancient remnant of the short era of delta objects stored directly in the object database. Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--http-fetch.c2
-rw-r--r--local-fetch.c4
-rw-r--r--ssh-fetch.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/http-fetch.c b/http-fetch.c
index 12493fbed..dc286b79f 100644
--- a/http-fetch.c
+++ b/http-fetch.c
@@ -1245,7 +1245,7 @@ int main(int argc, char **argv)
arg++;
}
if (argc < arg + 2) {
- usage("git-http-fetch [-c] [-t] [-a] [-d] [-v] [--recover] [-w ref] commit-id url");
+ usage("git-http-fetch [-c] [-t] [-a] [-v] [--recover] [-w ref] commit-id url");
return 1;
}
commit_id = argv[arg];
diff --git a/local-fetch.c b/local-fetch.c
index ffa488757..a05ac16cd 100644
--- a/local-fetch.c
+++ b/local-fetch.c
@@ -194,9 +194,9 @@ int fetch_ref(char *ref, unsigned char *sha1)
}
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.
diff --git a/ssh-fetch.c b/ssh-fetch.c
index 28f7fd917..a8a6cfbb3 100644
--- a/ssh-fetch.c
+++ b/ssh-fetch.c
@@ -120,7 +120,7 @@ int fetch_ref(char *ref, unsigned char *sha1)
static const char ssh_fetch_usage[] =
MY_PROGRAM_NAME
- " [-c] [-t] [-a] [-v] [-d] [--recover] [-w ref] commit-id url";
+ " [-c] [-t] [-a] [-v] [--recover] [-w ref] commit-id url";
int main(int argc, char **argv)
{
char *commit_id;