Skip to content

Commit

Permalink
show-branch: match documentation and usage
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Jul 7, 2006
1 parent bf928e9 commit 8048e24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Documentation/git-show-branch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ OPTIONS
appear in topological order (i.e., descendant commits
are shown before their parents).

--sparse::
By default, the output omits merges that are reachable
from only one tip being shown. This option makes them
visible.

--more=<n>::
Usually the command stops output upon showing the commit
that is the common ancestor of all the branches. This
Expand Down
2 changes: 1 addition & 1 deletion builtin-show-branch.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "builtin.h"

static const char show_branch_usage[] =
"git-show-branch [--dense] [--current] [--all] [--heads] [--tags] [--topo-order] [--more=count | --list | --independent | --merge-base ] [--topics] [<refs>...]";
"git-show-branch [--sparse] [--current] [--all] [--heads] [--tags] [--topo-order] [--more=count | --list | --independent | --merge-base ] [--topics] [<refs>...]";

static int default_num = 0;
static int default_alloc = 0;
Expand Down

0 comments on commit 8048e24

Please sign in to comment.