* [PATCH] builtin-fetch: Add "-q" as a synonym for "--quiet"
@ 2007-11-04 2:26 Steven Grimm
0 siblings, 0 replies; only message in thread
From: Steven Grimm @ 2007-11-04 2:26 UTC (permalink / raw)
To: git; +Cc: Steven Grimm
"-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>
---
builtin-fetch.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/builtin-fetch.c b/builtin-fetch.c
index 003ed76..8e79055 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;
}
--
1.5.3.5.529.ge3d6d-dirty
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2007-11-04 2:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-04 2:26 [PATCH] builtin-fetch: Add "-q" as a synonym for "--quiet" Steven Grimm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).