fix(TreeBuilder): resolve not-really-conflicts (left and right agree), take 2 #204
No reviewers
Labels
No labels
Compat/Breaking
Kind
Bad merge
Kind
Bug
Kind
Documentation
Kind
Enhancement
Kind
Feature
Kind
New language
Kind
Security
Kind
Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: mergiraf/mergiraf#204
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ada4a/mergiraf:170-not_really_a_conflict-v2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
supersedes #188
fixes #170
let-else
28419401f9@ -258,0 +239,4 @@
return line_based;
};
let MergedTree::Conflict {
Since we're destructuring
conflict
here anyway, we could just pass the sides toresolve_commutative_conflict
directly. And since destructingconflict
is all the latter does besides callingcommutatively_merge_list
, I think we could just removeresolve_commutative_conflict
and callcommutatively_merge_list
directlyIt sounds good to me, intuitively
Great, I'll open a PR for that then
resolve_commutative_conflict
#207