projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00ae828
)
builtin-fetch: Add "-q" as a synonym for "--quiet"
author
Steven Grimm
<koreth@midwinter.com>
Sun, 4 Nov 2007 02:26:54 +0000
(19:26 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 4 Nov 2007 04:37:30 +0000
(21:37 -0700)
"-q" is the very first option described in the git-fetch manpage, and it
isn't supported.
Signed-off-by: Steven Grimm <koreth@midwinter.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fetch.c
patch
|
blob
|
history
diff --git
a/builtin-fetch.c
b/builtin-fetch.c
index 003ed76d16236ec6857a19d6223518e6e73bdc93..8e790552cd962a1a35c9a5b9b46f7b1ac049d56f 100644
(file)
--- a/
builtin-fetch.c
+++ b/
builtin-fetch.c
@@
-517,7
+517,7
@@
int cmd_fetch(int argc, const char **argv, const char *prefix)
depth = argv[i];
continue;
}
- if (!strcmp(arg, "--quiet")) {
+ if (!strcmp(arg, "--quiet")
|| !strcmp(arg, "-q")
) {
quiet = 1;
continue;
}