You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
617 B
29 lines
617 B
16 years ago
|
#include "builtin.h"
|
||
|
#include "cache.h"
|
||
|
#include "parse-options.h"
|
||
|
#include "bisect.h"
|
||
|
|
||
|
static const char * const git_bisect_helper_usage[] = {
|
||
16 years ago
|
"git bisect--helper --next-all",
|
||
16 years ago
|
NULL
|
||
|
};
|
||
|
|
||
|
int cmd_bisect__helper(int argc, const char **argv, const char *prefix)
|
||
|
{
|
||
16 years ago
|
int next_all = 0;
|
||
16 years ago
|
struct option options[] = {
|
||
16 years ago
|
OPT_BOOLEAN(0, "next-all", &next_all,
|
||
|
"perform 'git bisect next'"),
|
||
16 years ago
|
OPT_END()
|
||
|
};
|
||
|
|
||
16 years ago
|
argc = parse_options(argc, argv, prefix, options,
|
||
|
git_bisect_helper_usage, 0);
|
||
16 years ago
|
|
||
16 years ago
|
if (!next_all)
|
||
16 years ago
|
usage_with_options(git_bisect_helper_usage, options);
|
||
|
|
||
16 years ago
|
/* next-all */
|
||
|
return bisect_next_all(prefix);
|
||
16 years ago
|
}
|