Staging
v0.5.1
Revision 4c6c949c7da91cdef7b6ce5a25bf7f0584d80e8a authored by Junio C Hamano on 08 October 2012, 18:45:41 UTC, committed by Junio C Hamano on 08 October 2012, 18:45:41 UTC
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent d519e45
Raw File
bisect.h
#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);

extern void print_commit_list(struct commit_list *list,
			      const char *format_cur,
			      const char *format_last);

#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);

#endif
back to top