mirror of
https://github.com/git/git
synced 2024-08-24 02:11:08 +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