From: Pranit Bauva Date: Tue, 23 Aug 2016 11:53:53 GMT Subject: [PATCH v14 23/27] bisect--helper: retire `--bisect-write` subcommand Message-ID: <01020156b73fe6d8-0e494417-0873-4f57-894b-fece73e21124-000000@eu-west-1.amazonses.com> In-Reply-To: <01020156b73fe5b4-5dc768ab-b73b-4a21-ab92-018e2a7aa6f7-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 9c1108d..4ab6488 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"); - strbuf_addstr(&terms.term_good, argv[2]); - strbuf_addstr(&terms.term_bad, 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