diff options
Diffstat (limited to 'commit-reach.h')
-rw-r--r-- | commit-reach.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/commit-reach.h b/commit-reach.h index f708c46e52..d6321ae700 100644 --- a/commit-reach.h +++ b/commit-reach.h @@ -135,4 +135,13 @@ void ahead_behind(struct repository *r, struct commit **commits, size_t commits_nr, struct ahead_behind_count *counts, size_t counts_nr); +/* + * For all tip commits, add 'mark' to their flags if and only if they + * are reachable from one of the commits in 'bases'. + */ +void tips_reachable_from_bases(struct repository *r, + struct commit_list *bases, + struct commit **tips, size_t tips_nr, + int mark); + #endif |