threads / patch / 31551

patch, 8 partsDoc branch: show -vv option and alternative

Subject: [PATCH 8/8] Doc branch: show -vv option and alternative

## tl;dr

One message between Sep 16, 2012 and Sep 16, 2012. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Philip Oakley· Sep 16, 2012, 10:58 UTC · lore

Indicate that the -v option can be given twice in the short options. Without it users pass over the option. Also indicate the alternate 'git remote show' method.

Signed-off-by: Philip Oakley <philipoakley@iee.org>
---

the option to show where a branch's remote is located should not be buried within an option.

Show changes to Documentation/git-branch.txt +3 −2
diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt
index 9c1d2f1..cc7f54c 100644
--- a/Documentation/git-branch.txt
+++ b/Documentation/git-branch.txt
@@ -130,12 +130,13 @@ This option is only applicable in non-verbose mode.
 	Activate the list mode. `git branch <pattern>` would try to create a branch,
 	use `git branch --list <pattern>` to list matching branches.
 
--v::
+-v, -vv::
 --verbose::
 	When in list mode,
 	show sha1 and commit subject line for each head, along with
 	relationship to upstream branch (if any). If given twice, print
-	the name of the upstream branch, as well.
+	the name of the upstream branch, as well (see also `git remote
+	show <remote>`).
 
 -q::
 --quiet::
-- 
1.7.8.msysgit.0

← back to recent threads