2009-03-26 05:55:24 +01:00
|
|
|
#ifndef BISECT_H
|
|
|
|
#define BISECT_H
|
|
|
|
|
|
|
|
extern struct commit_list *find_bisection(struct commit_list *list,
|
|
|
|
int *reaches, int *all,
|
|
|
|
int find_all);
|
|
|
|
|
2009-03-26 05:55:49 +01:00
|
|
|
extern struct commit_list *filter_skipped(struct commit_list *list,
|
|
|
|
struct commit_list **tried,
|
|
|
|
int show_all);
|
|
|
|
|
2009-04-07 05:08:42 +02:00
|
|
|
/* bisect_show_flags flags in struct rev_list_info */
|
2009-03-29 11:55:43 +02:00
|
|
|
#define BISECT_SHOW_ALL (1<<0)
|
|
|
|
#define BISECT_SHOW_TRIED (1<<1)
|
2009-03-30 06:59:59 +02:00
|
|
|
#define BISECT_SHOW_STRINGED (1<<2)
|
2009-03-29 11:55:43 +02:00
|
|
|
|
2009-04-06 22:28:00 +02:00
|
|
|
struct rev_list_info {
|
|
|
|
struct rev_info *revs;
|
2009-04-07 05:08:42 +02:00
|
|
|
int bisect_show_flags;
|
2009-04-06 22:28:00 +02:00
|
|
|
int show_timestamp;
|
|
|
|
int hdr_termination;
|
|
|
|
const char *header_prefix;
|
|
|
|
};
|
|
|
|
|
2009-04-07 05:08:42 +02:00
|
|
|
extern int show_bisect_vars(struct rev_list_info *info, int reaches, int all);
|
2009-03-26 05:55:35 +01:00
|
|
|
|
2009-03-26 05:55:54 +01:00
|
|
|
extern int bisect_next_vars(const char *prefix);
|
|
|
|
|
2009-03-26 05:55:24 +01:00
|
|
|
#endif
|