Skip to content

Commit 9feea34

Browse files
pranitbauva1997gitster
authored andcommitted
bisect--helper: retire --bisect-auto-next subcommand
The --bisect-auto-next subcommand is no longer used from the git-bisect.sh shell script. Instead the function bisect_auto_next() is directly called from the C implementation. Mentored-by: Lars Schneider <[email protected]> Mentored-by: Christian Couder <[email protected]> Mentored-by: Johannes Schindelin <[email protected]> Signed-off-by: Pranit Bauva <[email protected]> Signed-off-by: Tanushree Tumane <[email protected]> Signed-off-by: Miriam Rubio <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b7a6f16 commit 9feea34

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

builtin/bisect--helper.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ static const char * const git_bisect_helper_usage[] = {
2727
N_("git bisect--helper --bisect-start [--term-{new,bad}=<term> --term-{old,good}=<term>]"
2828
" [--no-checkout] [--first-parent] [<bad> [<good>...]] [--] [<paths>...]"),
2929
N_("git bisect--helper --bisect-next"),
30-
N_("git bisect--helper --bisect-auto-next"),
3130
N_("git bisect--helper --bisect-state (bad|new) [<rev>]"),
3231
N_("git bisect--helper --bisect-state (good|old) [<rev>...]"),
3332
N_("git bisect--helper --bisect-replay <filename>"),
@@ -1003,7 +1002,6 @@ int cmd_bisect__helper(int argc, const char **argv, const char *prefix)
10031002
BISECT_START,
10041003
BISECT_AUTOSTART,
10051004
BISECT_NEXT,
1006-
BISECT_AUTO_NEXT,
10071005
BISECT_STATE,
10081006
BISECT_LOG,
10091007
BISECT_REPLAY
@@ -1022,8 +1020,6 @@ int cmd_bisect__helper(int argc, const char **argv, const char *prefix)
10221020
N_("start the bisect session"), BISECT_START),
10231021
OPT_CMDMODE(0, "bisect-next", &cmdmode,
10241022
N_("find the next bisection commit"), BISECT_NEXT),
1025-
OPT_CMDMODE(0, "bisect-auto-next", &cmdmode,
1026-
N_("verify the next bisection state then checkout the next bisection commit"), BISECT_AUTO_NEXT),
10271023
OPT_CMDMODE(0, "bisect-state", &cmdmode,
10281024
N_("mark the state of ref (or refs)"), BISECT_STATE),
10291025
OPT_CMDMODE(0, "bisect-log", &cmdmode,
@@ -1076,12 +1072,6 @@ int cmd_bisect__helper(int argc, const char **argv, const char *prefix)
10761072
get_terms(&terms);
10771073
res = bisect_next(&terms, prefix);
10781074
break;
1079-
case BISECT_AUTO_NEXT:
1080-
if (argc)
1081-
return error(_("--bisect-auto-next requires 0 arguments"));
1082-
get_terms(&terms);
1083-
res = bisect_auto_next(&terms, prefix);
1084-
break;
10851075
case BISECT_STATE:
10861076
set_terms(&terms, "bad", "good");
10871077
get_terms(&terms);

0 commit comments

Comments
 (0)