Skip to content

Commit

Permalink
Remove -d from *-fetch usage strings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Petr Baudis authored and Junio C Hamano committed Jul 27, 2006
1 parent 6c35119 commit cc41cd2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion http-fetch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
4 changes: 2 additions & 2 deletions local-fetch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion ssh-fetch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cc41cd2

Please sign in to comment.