From: Pranit Bauva Date: Tue, 23 Aug 2016 11:53:53 GMT Subject: [PATCH v14 19/27] bisect--helper: retire `--check-expected-revs` subcommand Message-ID: <01020156b73fe6d0-0e2c0b03-999c-4ce9-9432-8cf1a6858c48-000000@eu-west-1.amazonses.com> In-Reply-To: <01020156b73fe5b4-5dc768ab-b73b-4a21-ab92-018e2a7aa6f7-000000@eu-west-1.amazonses.com> The `--check-expected-revs` subcommand is no longer used in the shell script and the function `check_expected_revs()` is called from the C implementation of `bisect_next()`. Mentored-by: Lars Schneider Mentored-by: Christian Couder Signed-off-by: Pranit Bauva --- builtin/bisect--helper.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/builtin/bisect--helper.c b/builtin/bisect--helper.c index 861c07d..6cc990b 100644 --- a/builtin/bisect--helper.c +++ b/builtin/bisect--helper.c @@ -870,7 +870,6 @@ int cmd_bisect__helper(int argc, const char **argv, const char *prefix) enum { WRITE_TERMS = 1, BISECT_RESET, - CHECK_EXPECTED_REVS, BISECT_WRITE, CHECK_AND_SET_TERMS, BISECT_NEXT_CHECK, @@ -887,8 +886,6 @@ int cmd_bisect__helper(int argc, const char **argv, const char *prefix) N_("write the terms to .git/BISECT_TERMS"), WRITE_TERMS), OPT_CMDMODE(0, "bisect-reset", &cmdmode, N_("reset the bisection state"), BISECT_RESET), - OPT_CMDMODE(0, "check-expected-revs", &cmdmode, - N_("check for expected revs"), CHECK_EXPECTED_REVS), OPT_CMDMODE(0, "bisect-write", &cmdmode, N_("write out the bisection state in BISECT_LOG"), BISECT_WRITE), OPT_CMDMODE(0, "check-and-set-terms", &cmdmode, @@ -933,9 +930,6 @@ int cmd_bisect__helper(int argc, const char **argv, const char *prefix) die(_("--bisect-reset requires either zero or one arguments")); res = bisect_reset(argc ? argv[0] : NULL); break; - case CHECK_EXPECTED_REVS: - res = check_expected_revs(argv, argc); - break; case BISECT_WRITE: if (argc != 4 && argc != 5) die(_("--bisect-write requires either 4 or 5 arguments")); -- https://github.com/git/git/pull/287