rev-list: allow bisect and first-parent flags
Add first_parent_only parameter to find_bisection(), removing the barrier that prevented combining the --bisect and --first-parent flags when using git rev-list Based-on-patch-by: Tiago Botelho <tiagonbotelho@hotmail.com> Signed-off-by: Aaron Lipman <alipman88@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
15a4802a69
commit
0fe305a5d3
2
bisect.h
2
bisect.h
@ -12,7 +12,7 @@ struct repository;
|
||||
* best commit, as chosen by `find_all`.
|
||||
*/
|
||||
void find_bisection(struct commit_list **list, int *reaches, int *all,
|
||||
int find_all);
|
||||
int find_all, int first_parent_only);
|
||||
|
||||
struct commit_list *filter_skipped(struct commit_list *list,
|
||||
struct commit_list **tried,
|
||||
|
Reference in New Issue
Block a user