From: Nikolai Weibull Date: Thu, 8 Dec 2005 23:28:05 +0000 (+0100) Subject: Add documentation for the --topo-order option to git-show-branch. X-Git-Tag: v0.99.9m^2~30 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d4ce5f7e508c0a52aea2938cf2f7e25bf62eec3a;p=git.git Add documentation for the --topo-order option to git-show-branch. Signed-off-by: Nikolai Weibull Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-show-branch.txt b/Documentation/git-show-branch.txt index 304101d81..ffe64d835 100644 --- a/Documentation/git-show-branch.txt +++ b/Documentation/git-show-branch.txt @@ -7,7 +7,7 @@ git-show-branch - Show branches and their commits. SYNOPSIS -------- -'git-show-branch [--all] [--heads] [--tags] [--more= | --list | --independent | --merge-base] [--no-name | --sha1-name] [ | ]...' +'git-show-branch [--all] [--heads] [--tags] [--topo-order] [--more= | --list | --independent | --merge-base] [--no-name | --sha1-name] [ | ]...' DESCRIPTION ----------- @@ -35,6 +35,12 @@ OPTIONS Show all refs under $GIT_DIR/refs, $GIT_DIR/refs/heads, 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=:: Usually the command stops output upon showing the commit that is the common ancestor of all the branches. This diff --git a/show-branch.c b/show-branch.c index 3cb335d68..ab158eb7d 100644 --- a/show-branch.c +++ b/show-branch.c @@ -5,7 +5,7 @@ #include "refs.h" static const char show_branch_usage[] = -"git-show-branch [--all] [--heads] [--tags] [--more=count | --list | --independent | --merge-base ] [...]"; +"git-show-branch [--all] [--heads] [--tags] [--topo-order] [--more=count | --list | --independent | --merge-base ] [...]"; #define UNINTERESTING 01