Skip to content

Commit 9650eab

Browse files
pranitbauva1997gitster
authored andcommitted
bisect--helper: retire --bisect-auto-next subcommand
The `--bisect-auto-next` subcommand is no longer used in the shell script and the function `bisect_auto_next` is called from the C implementation. Mentored-by: Lars Schneider <[email protected]> Mentored-by: Christian Couder <[email protected]> Signed-off-by: Pranit Bauva <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 6d7449a commit 9650eab

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-{old,good}=<term> --term-{new,bad}=<term>]"
2828
"[--no-checkout] [<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>"),
@@ -993,7 +992,6 @@ int cmd_bisect__helper(int argc, const char **argv, const char *prefix)
993992
BISECT_TERMS,
994993
BISECT_START,
995994
BISECT_NEXT,
996-
BISECT_AUTO_NEXT,
997995
BISECT_STATE,
998996
BISECT_LOG,
999997
BISECT_REPLAY
@@ -1012,8 +1010,6 @@ int cmd_bisect__helper(int argc, const char **argv, const char *prefix)
10121010
N_("start the bisect session"), BISECT_START),
10131011
OPT_CMDMODE(0, "bisect-next", &cmdmode,
10141012
N_("find the next bisection commit"), BISECT_NEXT),
1015-
OPT_CMDMODE(0, "bisect-auto-next", &cmdmode,
1016-
N_("verify the next bisection state then find the next bisection state"), BISECT_AUTO_NEXT),
10171013
OPT_CMDMODE(0, "bisect-state", &cmdmode,
10181014
N_("mark the state of ref (or refs)"), BISECT_STATE),
10191015
OPT_CMDMODE(0, "bisect-log", &cmdmode,
@@ -1069,12 +1065,6 @@ int cmd_bisect__helper(int argc, const char **argv, const char *prefix)
10691065
get_terms(&terms);
10701066
res = bisect_next(&terms, prefix);
10711067
break;
1072-
case BISECT_AUTO_NEXT:
1073-
if (argc)
1074-
die(_("--bisect-auto-next requires 0 arguments"));
1075-
get_terms(&terms);
1076-
res = bisect_auto_next(&terms, prefix);
1077-
break;
10781068
case BISECT_STATE:
10791069
if (argc == 0)
10801070
die(_("--bisect-state requires at least 1 argument"));

0 commit comments

Comments
 (0)