summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2012-03-26 19:51:06 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-03-26 21:32:43 -0700
commitd65ddf1984d66e978f0a11e7a4ea2d4eb20193c7 (patch)
tree95a1e2b6b31b6b20fb979477bd1071cb8679e123 /Documentation
parentcheckout: suppress tracking message with "-q" (diff)
downloadtgif-d65ddf1984d66e978f0a11e7a4ea2d4eb20193c7.tar.xz
teach "git branch" a --quiet option
There's currently no way to suppress the informational "deleted branch..." or "set up tracking..." messages. This patch provides a "-q" option to do so. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-branch.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt
index 0427e80a35..d74a30c1ce 100644
--- a/Documentation/git-branch.txt
+++ b/Documentation/git-branch.txt
@@ -126,6 +126,11 @@ OPTIONS
relationship to upstream branch (if any). If given twice, print
the name of the upstream branch, as well.
+-q::
+--quiet::
+ Be more quiet when creating or deleting a branch, suppressing
+ non-error messages.
+
--abbrev=<length>::
Alter the sha1's minimum display length in the output listing.
The default value is 7 and can be overridden by the `core.abbrev`