]> git.ipfire.org Git - thirdparty/git.git/blobdiff - bisect.h
Start the 2.46 cycle
[thirdparty/git.git] / bisect.h
index 1015aeb8eaeaee7f539a4631b6dbf1c27175c7fb..ee3fd65f3bdb89611d7575239ee79e8c50bcd703 100644 (file)
--- a/bisect.h
+++ b/bisect.h
@@ -62,6 +62,15 @@ enum bisect_error {
        BISECT_INTERNAL_SUCCESS_MERGE_BASE = -11
 };
 
+/*
+ * Stores how many good/bad commits we have stored for a bisect. nr_bad can
+ * only be 0 or 1.
+ */
+struct bisect_state {
+       unsigned int nr_good;
+       unsigned int nr_bad;
+};
+
 enum bisect_error bisect_next_all(struct repository *r, const char *prefix);
 
 int estimate_bisect_steps(int all);