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 <jrnieder@gmail.com> Signed-off-by: Thomas Rast <trast@inf.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Thomas Rast committed
Jul 18, 2013 at 14:26 UTC
465cf8ce453dc3e266171ece2ea886acd8c7d714
1 file changed
+3
-3
builtin/show-branch.c
+3
-3
@@ -671,9 +671,9 @@ int cmd_show_branch(int ac, const char **av, const char *prefix)
671
N_("show only commits not on the first branch")),
672
OPT_SET_INT(0, "sparse", &dense,
673
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),
677
{ OPTION_CALLBACK, 'g', "reflog", &reflog_base, N_("<n>[,<base>]"),
678
N_("show <n> most recent ref-log entries starting at "
679
"base"),