Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Lipman <alipman88@gmail.com>2020-08-08 00:58:35 +0300
committerJunio C Hamano <gitster@pobox.com>2020-08-08 01:11:59 +0300
commit0fe305a5d342225976688b1bd68dc4dc179b66b3 (patch)
treec695319b64bda483b850da86c55e7b9d717706e2 /bisect.h
parent15a4802a69d0dd5e8a1b058d4a2cd5bec6c4bd6a (diff)
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>
Diffstat (limited to 'bisect.h')
-rw-r--r--bisect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bisect.h b/bisect.h
index 8bad8d8391..a63af0505f 100644
--- a/bisect.h
+++ b/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,