Re: [RFC PATCH v3 1/2] Implement --first-parent for git rev-list --bisect

2018-05-23 Thread Junio C Hamano
Tiago Botelho writes: > -static int count_interesting_parents(struct commit *commit) > +static int count_interesting_parents(struct commit *commit, unsigned > bisect_flags) > { > struct commit_list *p; > int count; > > for (count = 0, p =

[RFC PATCH v3 1/2] Implement --first-parent for git rev-list --bisect

2018-05-23 Thread Tiago Botelho
This will enable users to implement bisecting on first parents which can be useful for when the commits from a feature branch that we want to merge are not always tested. Signed-off-by: Tiago Botelho --- bisect.c | 53