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 <larsxschnei...@gmail.com>
Mentored-by: Christian Couder <chrisc...@tuxfamily.org>
Signed-off-by: Pranit Bauva <pranit.ba...@gmail.com>
---
 builtin/bisect--helper.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/builtin/bisect--helper.c b/builtin/bisect--helper.c
index a89e2f7..7577b69e 100644
--- a/builtin/bisect--helper.c
+++ b/builtin/bisect--helper.c
@@ -26,7 +26,6 @@ static const char * const git_bisect_helper_usage[] = {
        N_("git bisect--helper --bisect start [--term-{old,good}=<term> 
--term-{new,bad}=<term>]"
                                              "[--no-checkout] [<bad> 
[<good>...]] [--] [<paths>...]"),
        N_("git bisect--helper --bisect-next"),
-       N_("git bisect--helper --bisect-auto-next"),
        N_("git bisect--helper --bisect-state (bad|new) [<rev>]"),
        N_("git bisect--helper --bisect-state (good|old) [<rev>...]"),
        N_("git bisect--helper --bisect-replay <filename>"),
@@ -972,7 +971,6 @@ int cmd_bisect__helper(int argc, const char **argv, const 
char *prefix)
                BISECT_TERMS,
                BISECT_START,
                BISECT_NEXT,
-               BISECT_AUTO_NEXT,
                BISECT_STATE,
                BISECT_LOG,
                BISECT_REPLAY
@@ -989,8 +987,6 @@ int cmd_bisect__helper(int argc, const char **argv, const 
char *prefix)
                         N_("start the bisect session"), BISECT_START),
                OPT_CMDMODE(0, "bisect-next", &cmdmode,
                         N_("find the next bisection commit"), BISECT_NEXT),
-               OPT_CMDMODE(0, "bisect-auto-next", &cmdmode,
-                        N_("verify the next bisection state then find the next 
bisection state"), BISECT_AUTO_NEXT),
                OPT_CMDMODE(0, "bisect-state", &cmdmode,
                         N_("mark the state of ref (or refs)"), BISECT_STATE),
                OPT_CMDMODE(0, "bisect-log", &cmdmode,
@@ -1040,12 +1036,6 @@ int cmd_bisect__helper(int argc, const char **argv, 
const char *prefix)
                get_terms(&terms);
                res = bisect_next(&terms, prefix);
                break;
-       case BISECT_AUTO_NEXT:
-               if (argc)
-                       die(_("--bisect-auto-next requires 0 arguments"));
-               get_terms(&terms);
-               res = bisect_auto_next(&terms, prefix);
-               break;
        case BISECT_STATE:
                if (argc == 0)
                        die(_("--bisect-state requires at least 1 argument"));

--
https://github.com/git/git/pull/287
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to