summaryrefslogtreecommitdiff
path: root/bisect.h
diff options
context:
space:
mode:
Diffstat (limited to 'bisect.h')
-rw-r--r--bisect.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/bisect.h b/bisect.h
new file mode 100644
index 0000000..acd12ef
--- /dev/null
+++ b/bisect.h
@@ -0,0 +1,31 @@
+#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,
+ int *count,
+ int *skipped_first);
+
+#define BISECT_SHOW_ALL (1<<0)
+#define REV_LIST_QUIET (1<<1)
+
+struct rev_list_info {
+ struct rev_info *revs;
+ int flags;
+ int show_timestamp;
+ int hdr_termination;
+ const char *header_prefix;
+};
+
+extern int bisect_next_all(const char *prefix, int no_checkout);
+
+extern int estimate_bisect_steps(int all);
+
+extern void read_bisect_terms(const char **bad, const char **good);
+
+#endif