mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
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>
This commit is contained in:
parent
6c35119ac7
commit
cc41cd2e60
|
@ -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];
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue