We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49879e9 commit 763e576Copy full SHA for 763e576
src/repo.rs
@@ -2418,6 +2418,9 @@ impl Repository {
2418
}
2419
2420
/// Determine if a commit is the descendant of another commit
2421
+ ///
2422
+ /// Note that a commit is not considered a descendant of itself, in contrast
2423
+ /// to `git merge-base --is-ancestor`.
2424
pub fn graph_descendant_of(&self, commit: Oid, ancestor: Oid) -> Result<bool, Error> {
2425
unsafe {
2426
let rv = try_call!(raw::git_graph_descendant_of(
0 commit comments