rebase -i: Export GIT_AUTHOR_* variables explicitly
[git/dkf.git] / builtin-bisect--helper.c
blob5b226399e1c30b23a7b5d226a3f45efe9dbedf45
1 #include "builtin.h"
2 #include "cache.h"
3 #include "parse-options.h"
4 #include "bisect.h"
6 static const char * const git_bisect_helper_usage[] = {
7 "git bisect--helper --next-all",
8 NULL
9 };
11 int cmd_bisect__helper(int argc, const char **argv, const char *prefix)
13 int next_all = 0;
14 struct option options[] = {
15 OPT_BOOLEAN(0, "next-all", &next_all,
16 "perform 'git bisect next'"),
17 OPT_END()
20 argc = parse_options(argc, argv, prefix, options,
21 git_bisect_helper_usage, 0);
23 if (!next_all)
24 usage_with_options(git_bisect_helper_usage, options);
26 /* next-all */
27 return bisect_next_all(prefix);