git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] reset: add --quiet option
@ 2009-11-29 10:58 Felipe Contreras
  2009-11-30  1:18 ` Stephen Boyd
  0 siblings, 1 reply; 9+ messages in thread
From: Felipe Contreras @ 2009-11-29 10:58 UTC (permalink / raw)
  To: git; +Cc: Felipe Contreras

There's already -q, but --quiet is missing.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
---
 Documentation/git-reset.txt |    1 +
 builtin-reset.c             |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Documentation/git-reset.txt b/Documentation/git-reset.txt
index 2d27e40..9df6de2 100644
--- a/Documentation/git-reset.txt
+++ b/Documentation/git-reset.txt
@@ -62,6 +62,7 @@ This means that `git reset -p` is the opposite of `git add -p` (see
 linkgit:git-add[1]).
 
 -q::
+--quiet::
 	Be quiet, only report errors.
 
 <commit>::
diff --git a/builtin-reset.c b/builtin-reset.c
index 73e6022..c0127c4 100644
--- a/builtin-reset.c
+++ b/builtin-reset.c
@@ -209,7 +209,7 @@ int cmd_reset(int argc, const char **argv, const char *prefix)
 				"reset HEAD, index and working tree", HARD),
 		OPT_SET_INT(0, "merge", &reset_type,
 				"reset HEAD, index and working tree", MERGE),
-		OPT_BOOLEAN('q', NULL, &quiet,
+		OPT_BOOLEAN('q', "quiet", &quiet,
 				"disable showing new HEAD in hard reset and progress message"),
 		OPT_BOOLEAN('p', "patch", &patch_mode, "select hunks interactively"),
 		OPT_END()
-- 
1.6.6.rc0.63.g0471c

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-12-04  1:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-29 10:58 [PATCH] reset: add --quiet option Felipe Contreras
2009-11-30  1:18 ` Stephen Boyd
2009-11-30  7:17   ` Junio C Hamano
2009-11-30 10:19   ` Felipe Contreras
2009-11-30 21:45     ` Stephen Boyd
2009-12-03  9:33       ` Felipe Contreras
2009-12-03  9:46         ` Stephen Boyd
2009-12-04  1:19         ` Junio C Hamano
2009-12-04  1:43           ` Felipe Contreras

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).