diff options
| author | lhchavez <lhchavez@lhchavez.com> | 2021-01-06 06:26:09 -0800 |
|---|---|---|
| committer | lhchavez <lhchavez@lhchavez.com> | 2021-07-27 08:14:08 -0700 |
| commit | ce5400cdc7cc52ace295a9fbd3cd7a6e7c63be34 (patch) | |
| tree | fc27f950a3f6547aadcd638a7d3ea638b0aa85b8 /src/commit_graph.c | |
| parent | 08c79128be38b6704cfdf01bca037f3fbaabf847 (diff) | |
| download | libgit2-ce5400cdc7cc52ace295a9fbd3cd7a6e7c63be34.tar.gz | |
graph: Create `git_graph_reachable_from_any()`
This change introduces a new API function
`git_graph_reachable_from_any()`, that answers the question whether a
commit is reachable from any of the provided commits through following
parent edges.
This function can take advantage of optimizations provided by the
existence of a `commit-graph` file, since it makes it faster to know
whether, given two commits X and Y, X cannot possibly be an reachable
from Y.
Part of: #5757
Diffstat (limited to 'src/commit_graph.c')
0 files changed, 0 insertions, 0 deletions
