From: Pranit Bauva Date: Fri, 14 Oct 2016 14:14:16 GMT Subject: [PATCH v15 24/27] bisect--helper: retire `--bisect-write` subcommand Message-ID: <01020157c38b1b49-f17ea9d4-32d8-47da-bdcf-833bd7a9093d-000000@eu-west-1.amazonses.com> In-Reply-To: <01020157c38b19e0-81123fa5-5d9d-4f64-8f1b-ff336e83ebe4-000000@eu-west-1.amazonses.com> The `--bisect-write` subcommand is no longer used in the shell script and the function `bisect_write()` is called from the C implementation. Mentored-by: Lars Schneider Mentored-by: Christian Couder Signed-off-by: Pranit Bauva --- builtin/bisect--helper.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/builtin/bisect--helper.c b/builtin/bisect--helper.c index b367d8d..7f676e2 100644 --- a/builtin/bisect--helper.c +++ b/builtin/bisect--helper.c @@ -21,7 +21,6 @@ static GIT_PATH_FUNC(git_path_bisect_names, "BISECT_NAMES") static const char * const git_bisect_helper_usage[] = { N_("git bisect--helper --bisect-reset []"), - N_("git bisect--helper --bisect-write []"), N_("git bisect--helper --bisect-check-and-set-terms "), N_("git bisect--helper --bisect-next-check [] 1) die(_("--bisect-reset requires either zero or one arguments")); res = bisect_reset(argc ? argv[0] : NULL); break; - case BISECT_WRITE: - if (argc != 4 && argc != 5) - die(_("--bisect-write requires either 4 or 5 arguments")); - nolog = (argc == 5) && !strcmp(argv[4], "nolog"); - terms.term_good = xstrdup(argv[2]); - terms.term_bad = xstrdup(argv[3]); - res = bisect_write(argv[0], argv[1], &terms, nolog); - break; case CHECK_AND_SET_TERMS: if (argc != 3) die(_("--check-and-set-terms requires 3 arguments")); -- https://github.com/git/git/pull/287