Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 465cf8c

Browse files
Thomas Rastgitster
authored andcommitted
show-branch: fix description of --date-order
The existing description reads as if it somehow applies a filter. Change it to explain that it is merely about the ordering. Message-proposed-by: Jonathan Nieder <[email protected]> Signed-off-by: Thomas Rast <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 42063f9 commit 465cf8c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

builtin/show-branch.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -671,9 +671,9 @@ int cmd_show_branch(int ac, const char **av, const char *prefix)
671671
N_("show only commits not on the first branch")),
672672
OPT_SET_INT(0, "sparse", &dense,
673673
N_("show merges reachable from only one tip"), 0),
674-
OPT_SET_INT(0, "date-order", &lifo,
675-
N_("show commits where no parent comes before its "
676-
"children"), 0),
674+
OPT_SET_INT(0, "date-order", &sort_order,
675+
N_("topologically sort, maintaining date order "
676+
"where possible"), 0),
677677
{ OPTION_CALLBACK, 'g', "reflog", &reflog_base, N_("<n>[,<base>]"),
678678
N_("show <n> most recent ref-log entries starting at "
679679
"base"),

0 commit comments

Comments
 (0)