@@ -107,7 +107,7 @@ pub mod commit {
107107///
108108pub mod tree {
109109 use gix_merge:: blob:: builtin_driver;
110- pub use gix_merge:: tree:: { Conflict , ContentMerge , Resolution , ResolutionFailure , UnresolvedConflict } ;
110+ pub use gix_merge:: tree:: { Conflict , ContentMerge , Resolution , ResolutionFailure , TreatAsUnresolved } ;
111111
112112 /// The outcome produced by [`Repository::merge_trees()`](crate::Repository::merge_trees()).
113113 #[ derive( Clone ) ]
@@ -130,7 +130,7 @@ pub mod tree {
130130 impl Outcome < ' _ > {
131131 /// Return `true` if there is any conflict that would still need to be resolved as they would yield undesirable trees.
132132 /// This is based on `how` to determine what should be considered unresolved.
133- pub fn has_unresolved_conflicts ( & self , how : UnresolvedConflict ) -> bool {
133+ pub fn has_unresolved_conflicts ( & self , how : TreatAsUnresolved ) -> bool {
134134 self . conflicts . iter ( ) . any ( |c| c. is_unresolved ( how) )
135135 }
136136 }
@@ -206,7 +206,7 @@ pub mod tree {
206206 /// If `Some(what-is-unresolved)`, the first unresolved conflict will cause the entire merge to stop.
207207 /// This is useful to see if there is any conflict, without performing the whole operation, something
208208 /// that can be very relevant during merges that would cause a lot of blob-diffs.
209- pub fn with_fail_on_conflict ( mut self , fail_on_conflict : Option < UnresolvedConflict > ) -> Self {
209+ pub fn with_fail_on_conflict ( mut self , fail_on_conflict : Option < TreatAsUnresolved > ) -> Self {
210210 self . inner . fail_on_conflict = fail_on_conflict;
211211 self
212212 }
0 commit comments