show-branch: match documentation and usage
Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Jul 6, 2006 at 19:21 UTC
8048e24b87b2b897acaa27fe37df715f354947cb
2 files changed
+6
-1
Documentation/git-show-branch.txt
+5
@@ -52,6 +52,11 @@ OPTIONS
52
appear in topological order (i.e., descendant commits
53
are shown before their parents).
54
55
+--sparse::
56
+ By default, the output omits merges that are reachable
57
+ from only one tip being shown. This option makes them
58
+ visible.
59
+
60
--more=<n>::
61
Usually the command stops output upon showing the commit
62
that is the common ancestor of all the branches. This
builtin-show-branch.c
+1
-1
@@ -6,7 +6,7 @@
6
#include "builtin.h"
7
8
static const char show_branch_usage[] =
9
-"git-show-branch [--dense] [--current] [--all] [--heads] [--tags] [--topo-order] [--more=count | --list | --independent | --merge-base ] [--topics] [<refs>...]";
9
+"git-show-branch [--sparse] [--current] [--all] [--heads] [--tags] [--topo-order] [--more=count | --list | --independent | --merge-base ] [--topics] [<refs>...]";
10
11
static int default_num = 0;
12
static int default_alloc = 0;