Skip to content

Commit b3f298a

Browse files
bebarinogitster
authored andcommitted
git-show-branch.txt: document --date-order option
Copy the description of date-order from rev-list-options.txt, and then reword it to be commit specific. While we're at it, put <rev> <glob>... on a new line to not exceed 80 characters. Signed-off-by: Stephen Boyd <bebarino@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent f9275c6 commit b3f298a

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

Documentation/git-show-branch.txt

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ git-show-branch - Show branches and their commits
88
SYNOPSIS
99
--------
1010
[verse]
11-
'git show-branch' [--all] [--remotes] [--topo-order] [--current]
11+
'git show-branch' [--all] [--remotes] [--topo-order | --date-order]
12+
[--current] [--color | --no-color]
1213
[--more=<n> | --list | --independent | --merge-base]
13-
[--color | --no-color]
14-
[--no-name | --sha1-name] [--topics] [<rev> | <glob>]...
14+
[--no-name | --sha1-name] [--topics]
15+
[<rev> | <glob>]...
1516
'git show-branch' (-g|--reflog)[=<n>[,<base>]] [--list] [<ref>]
1617

1718
DESCRIPTION
@@ -58,6 +59,11 @@ OPTIONS
5859
appear in topological order (i.e., descendant commits
5960
are shown before their parents).
6061

62+
--date-order::
63+
This option is similar to '--topo-order' in the sense that no
64+
parent comes before all of its children, but otherwise commits
65+
are ordered according to their commit date.
66+
6167
--sparse::
6268
By default, the output omits merges that are reachable
6369
from only one tip being shown. This option makes them

0 commit comments

Comments
 (0)