@matheusbsbs / matheus-bagliano / commits / d4ce5f7e50
Fork 0

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>

Nikolai Weibull committed Dec 9, 2005 at 00:28 UTC d4ce5f7e508c0a52aea2938cf2f7e25bf62eec3a
2 files changed +8 -2
Documentation/git-show-branch.txt
+7 -1
@@ -7,7 +7,7 @@ git-show-branch - Show branches and their commits.
7
8 SYNOPSIS
9 --------
10 -'git-show-branch [--all] [--heads] [--tags] [--more=<n> | --list | --independent | --merge-base] [--no-name | --sha1-name] [<rev> | <glob>]...'
10 +'git-show-branch [--all] [--heads] [--tags] [--topo-order] [--more=<n> | --list | --independent | --merge-base] [--no-name | --sha1-name] [<rev> | <glob>]...'
11
12 DESCRIPTION
13 -----------
@@ -35,6 +35,12 @@ OPTIONS
35 Show all refs under $GIT_DIR/refs, $GIT_DIR/refs/heads,
36 and $GIT_DIR/refs/tags, respectively.
37
38 +--topo-order::
39 + By default, the branches and their commits are shown in
40 + reverse chronological order. This option makes them
41 + appear in topological order (i.e., descendant commits
42 + are shown before their parents).
43 +
44 --more=<n>::
45 Usually the command stops output upon showing the commit
46 that is the common ancestor of all the branches. This
show-branch.c
+1 -1
@@ -5,7 +5,7 @@
5 #include "refs.h"
6
7 static const char show_branch_usage[] =
8 -"git-show-branch [--all] [--heads] [--tags] [--more=count | --list | --independent | --merge-base ] [<refs>...]";
8 +"git-show-branch [--all] [--heads] [--tags] [--topo-order] [--more=count | --list | --independent | --merge-base ] [<refs>...]";
9
10 #define UNINTERESTING 01
11