diff options
author | Steven Grimm <koreth@midwinter.com> | 2007-11-03 19:26:54 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-03 21:37:30 -0700 |
commit | 4b7bbdd14c6b926fbb0dbd203ce02e150b308694 (patch) | |
tree | 69e96570e5e8a105a171c087f78ade14052b07ae | |
parent | errors: "strict subset" -> "ancestor" (diff) | |
download | tgif-4b7bbdd14c6b926fbb0dbd203ce02e150b308694.tar.xz |
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>
-rw-r--r-- | builtin-fetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-fetch.c b/builtin-fetch.c index 003ed76d16..8e790552cd 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; } |