Add documentation for the --topo-order option to git-show-branch.

Signed-off-by: Nikolai Weibull <nikolai@bitwi.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Nikolai Weibull 2005-12-09 00:28:05 +01:00 committed by Junio C Hamano
parent 674b28085e
commit d4ce5f7e50
2 changed files with 8 additions and 2 deletions

View File

@ -7,7 +7,7 @@ git-show-branch - Show branches and their commits.


SYNOPSIS SYNOPSIS
-------- --------
'git-show-branch [--all] [--heads] [--tags] [--more=<n> | --list | --independent | --merge-base] [--no-name | --sha1-name] [<rev> | <glob>]...' 'git-show-branch [--all] [--heads] [--tags] [--topo-order] [--more=<n> | --list | --independent | --merge-base] [--no-name | --sha1-name] [<rev> | <glob>]...'


DESCRIPTION DESCRIPTION
----------- -----------
@ -35,6 +35,12 @@ OPTIONS
Show all refs under $GIT_DIR/refs, $GIT_DIR/refs/heads, Show all refs under $GIT_DIR/refs, $GIT_DIR/refs/heads,
and $GIT_DIR/refs/tags, respectively. and $GIT_DIR/refs/tags, respectively.


--topo-order::
By default, the branches and their commits are shown in
reverse chronological order. This option makes them
appear in topological order (i.e., descendant commits
are shown before their parents).

--more=<n>:: --more=<n>::
Usually the command stops output upon showing the commit Usually the command stops output upon showing the commit
that is the common ancestor of all the branches. This that is the common ancestor of all the branches. This

View File

@ -5,7 +5,7 @@
#include "refs.h" #include "refs.h"


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


#define UNINTERESTING 01 #define UNINTERESTING 01