Message ID | a345cf3e0e4b92a2a8080ec245315fce6a8888d6.1645547423.git.gitgitgadget@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Finish converting git bisect into a built-in | expand |
diff --git a/builtin/bisect--helper.c b/builtin/bisect--helper.c index c7763be2c51..fcddd7444a4 100644 --- a/builtin/bisect--helper.c +++ b/builtin/bisect--helper.c @@ -856,7 +856,7 @@ static enum bisect_error bisect_state(struct bisect_terms *terms, const char **a struct oid_array revs = OID_ARRAY_INIT; if (!argc) - return error(_("Please call `--bisect-state` with at least one argument")); + BUG("bisect_state() called without argument"); if (bisect_autostart(terms)) return BISECT_FAILED;