summaryrefslogtreecommitdiff
path: root/bisect.h
blob: b9aa88482eea7b797d978b58b99aba9a4f059ccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef BISECT_H
#define BISECT_H

extern struct commit_list *find_bisection(struct commit_list *list,
					  int *reaches, int *all,
					  int find_all);

extern struct commit_list *filter_skipped(struct commit_list *list,
					  struct commit_list **tried,
					  int show_all);

/* show_bisect_vars flags */
#define BISECT_SHOW_ALL		(1<<0)
#define BISECT_SHOW_TRIED	(1<<1)

/*
 * The flag BISECT_SHOW_ALL should not be set if this function is called
 * from outside "builtin-rev-list.c" as otherwise it would use
 * static "revs" from this file.
 */
extern int show_bisect_vars(struct rev_info *revs, int reaches, int all,
			    int flags);

extern int bisect_next_vars(const char *prefix);

#endif