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>
Steven Grimm committed
Nov 3, 2007 at 19:26 UTC
4b7bbdd14c6b926fbb0dbd203ce02e150b308694
1 file changed
+1
-1
builtin-fetch.c
+1
-1
@@ -517,7 +517,7 @@ int cmd_fetch(int argc, const char **argv, const char *prefix)
517
depth = argv[i];
518
continue;
519
}
520
- if (!strcmp(arg, "--quiet")) {
520
+ if (!strcmp(arg, "--quiet") || !strcmp(arg, "-q")) {
521
quiet = 1;
522
continue;
523
}