mirror of
https://github.com/git/git
synced 2024-10-03 23:29:36 +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:
parent
00ae82895e
commit
4b7bbdd14c
|
@ -517,7 +517,7 @@ int cmd_fetch(int argc, const char **argv, const char *prefix)
|
||||||
depth = argv[i];
|
depth = argv[i];
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (!strcmp(arg, "--quiet")) {
|
if (!strcmp(arg, "--quiet") || !strcmp(arg, "-q")) {
|
||||||
quiet = 1;
|
quiet = 1;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue