@matheusbsbs / matheus-bagliano / commits / cc41cd2e60
Fork 0

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>

Petr Baudis committed Jul 27, 2006 at 20:58 UTC cc41cd2e60da8224dcd04f23d837853cff5d4eda
3 files changed +4 -4
http-fetch.c
+1 -1
@@ -1245,7 +1245,7 @@ int main(int argc, char **argv)
1245 arg++;
1246 }
1247 if (argc < arg + 2) {
1248 - usage("git-http-fetch [-c] [-t] [-a] [-d] [-v] [--recover] [-w ref] commit-id url");
1248 + usage("git-http-fetch [-c] [-t] [-a] [-v] [--recover] [-w ref] commit-id url");
1249 return 1;
1250 }
1251 commit_id = argv[arg];
local-fetch.c
+2 -2
@@ -194,9 +194,9 @@ int fetch_ref(char *ref, unsigned char *sha1)
194 }
195
196 static const char local_pull_usage[] =
197 -"git-local-fetch [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [-l] [-s] [-n] commit-id path";
197 +"git-local-fetch [-c] [-t] [-a] [-v] [-w filename] [--recover] [-l] [-s] [-n] commit-id path";
198
199 -/*
199 +/*
200 * By default we only use file copy.
201 * If -l is specified, a hard link is attempted.
202 * If -s is specified, then a symlink is attempted.
ssh-fetch.c
+1 -1
@@ -120,7 +120,7 @@ int fetch_ref(char *ref, unsigned char *sha1)
120
121 static const char ssh_fetch_usage[] =
122 MY_PROGRAM_NAME
123 - " [-c] [-t] [-a] [-v] [-d] [--recover] [-w ref] commit-id url";
123 + " [-c] [-t] [-a] [-v] [--recover] [-w ref] commit-id url";
124 int main(int argc, char **argv)
125 {
126 char *commit_id;