summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Steven Grimm <koreth@midwinter.com>2007-11-03 19:26:54 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-11-03 21:37:30 -0700
commit4b7bbdd14c6b926fbb0dbd203ce02e150b308694 (patch)
tree69e96570e5e8a105a171c087f78ade14052b07ae
parenterrors: "strict subset" -> "ancestor" (diff)
downloadtgif-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.c2
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;
}