mirror of
https://github.com/git/git.git
synced 2024-11-24 18:33:43 +08:00
fee92fc1dd
If --no-checkout is specified, then the bisection process uses: git update-ref --no-deref HEAD <trial> at each trial instead of: git checkout <trial> Improved-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Jon Seymour <jon.seymour@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
35 lines
837 B
C
35 lines
837 B
C
#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);
|
|
|
|
/* bisect_show_flags flags in struct rev_list_info */
|
|
#define BISECT_SHOW_ALL (1<<0)
|
|
#define BISECT_SHOW_TRIED (1<<1)
|
|
|
|
struct rev_list_info {
|
|
struct rev_info *revs;
|
|
int bisect_show_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
|