summaryrefslogtreecommitdiff
path: root/bisect.h
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2009-03-26 05:55:24 +0100
committerJunio C Hamano <gitster@pobox.com>2009-03-30 01:22:54 -0700
commita2ad79ced25e1b76fabec079549f521e8071ddd1 (patch)
treebbaf8feb2a4da35b174f1c4701f7ab6ce81539f6 /bisect.h
parentff62d732d826efcf271cd6c50a41f613af97aff6 (diff)
downloadgit-a2ad79ced25e1b76fabec079549f521e8071ddd1.tar.gz
rev-list: move bisect related code into its own file
This patch creates new "bisect.c" and "bisect.h" files and move bisect related code into these files. While at it, we also remove some include directives that are not needed any more from the beginning of "builtin-rev-list.c". Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bisect.h')
-rw-r--r--bisect.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/bisect.h b/bisect.h
new file mode 100644
index 0000000000..60b2fe1cdc
--- /dev/null
+++ b/bisect.h
@@ -0,0 +1,8 @@
+#ifndef BISECT_H
+#define BISECT_H
+
+extern struct commit_list *find_bisection(struct commit_list *list,
+ int *reaches, int *all,
+ int find_all);
+
+#endif