1
0
mirror of https://github.com/git/git synced 2024-07-05 00:58:49 +00:00

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 <koreth@midwinter.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Steven Grimm 2007-11-03 19:26:54 -07:00 committed by Junio C Hamano
parent 00ae82895e
commit 4b7bbdd14c

View File

@ -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;
}