From: Steven Grimm Date: Sun, 4 Nov 2007 02:26:54 +0000 (-0700) Subject: builtin-fetch: Add "-q" as a synonym for "--quiet" X-Git-Tag: v1.5.4-rc0~282 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4b7bbdd14c6b926fbb0dbd203ce02e150b308694;p=git.git builtin-fetch: Add "-q" as a synonym for "--quiet" "-q" is the very first option described in the git-fetch manpage, and it isn't supported. Signed-off-by: Steven Grimm Signed-off-by: Junio C Hamano --- diff --git a/builtin-fetch.c b/builtin-fetch.c index 003ed76d1..8e790552c 100644 --- 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; }