Skip to content

Commit da6b99c

Browse files
committed
Merge branch 'hl/bisect-doc-clarify-bad-good-ordering'
Doc update. * hl/bisect-doc-clarify-bad-good-ordering: bisect: swap command-line options in documentation
2 parents b720ad2 + ef4d9f8 commit da6b99c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Documentation/git-bisect.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ DESCRIPTION
1616
The command takes various subcommands, and different options depending
1717
on the subcommand:
1818

19-
git bisect start [--term-{old,good}=<term> --term-{new,bad}=<term>]
19+
git bisect start [--term-{new,bad}=<term> --term-{old,good}=<term>]
2020
[--no-checkout] [--first-parent] [<bad> [<good>...]] [--] [<paths>...]
2121
git bisect (bad|new|<term-new>) [<rev>]
2222
git bisect (good|old|<term-old>) [<rev>...]

builtin/bisect--helper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ static const char * const git_bisect_helper_usage[] = {
2727
N_("git bisect--helper --bisect-check-and-set-terms <command> <good_term> <bad_term>"),
2828
N_("git bisect--helper --bisect-next-check <good_term> <bad_term> [<term>]"),
2929
N_("git bisect--helper --bisect-terms [--term-good | --term-old | --term-bad | --term-new]"),
30-
N_("git bisect--helper --bisect-start [--term-{old,good}=<term> --term-{new,bad}=<term>]"
30+
N_("git bisect--helper --bisect-start [--term-{new,bad}=<term> --term-{old,good}=<term>]"
3131
" [--no-checkout] [--first-parent] [<bad> [<good>...]] [--] [<paths>...]"),
3232
NULL
3333
};

git-bisect.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
USAGE='[help|start|bad|good|new|old|terms|skip|next|reset|visualize|view|replay|log|run]'
44
LONG_USAGE='git bisect help
55
print this long help message.
6-
git bisect start [--term-{old,good}=<term> --term-{new,bad}=<term>]
6+
git bisect start [--term-{new,bad}=<term> --term-{old,good}=<term>]
77
[--no-checkout] [--first-parent] [<bad> [<good>...]] [--] [<pathspec>...]
88
reset bisect state and start bisection.
99
git bisect (bad|new) [<rev>]

0 commit comments

Comments
 (0)