You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gix/src/repository/revision.rs
+21-3
Original file line number
Diff line number
Diff line change
@@ -82,11 +82,11 @@ impl crate::Repository {
82
82
Ok(bases[0].attach(self))
83
83
}
84
84
85
-
/// Obtain all merge-bases between commit `one` and `others`, or an empty list if there is none, providing a
86
-
/// commit-graph `graph` to potentially greatly accelerate the operation.
85
+
/// Get all merge-bases between commit `one` and `others`, or an empty list if there is none, providing a
86
+
/// commit-graph `graph` to potentially greatly speed up the operation.
87
87
///
88
88
/// # Performance
89
-
/// Be sure to [set an object cache](crate::Repository::object_cache_size_if_unset) to accelerate repeated commit lookups.
89
+
/// Be sure to [set an object cache](crate::Repository::object_cache_size_if_unset) to speed up repeated commit lookups.
90
90
#[doc(alias = "merge_bases_many", alias = "git2")]
91
91
#[cfg(feature = "revision")]
92
92
pubfnmerge_bases_many_with_graph(
@@ -104,6 +104,24 @@ impl crate::Repository {
104
104
.collect())
105
105
}
106
106
107
+
/// Like [`merge_bases_many_with_graph()`](Self::merge_bases_many_with_graph), but without the ability to speed up consecutive calls with a [graph](gix_revwalk::Graph).
108
+
///
109
+
/// # Performance
110
+
///
111
+
/// Be sure to [set an object cache](crate::Repository::object_cache_size_if_unset) to speed up repeated commit lookups, and consider
112
+
/// using [`merge_bases_many_with_graph()`](Self::merge_bases_many_with_graph) for consecutive calls.
0 commit comments