mirror of
https://github.com/martinvonz/jj.git
synced 2025-02-10 22:39:32 +00:00
It seems generally useful to be able to simplify a conflict, and it's not specific to merging trees, so let's move it to `conflicts.rs`. Once we're done with the migration to tree-level conflicts, I think `Conflict::simplify()` will remain but `tree::simplify_conflict()` will be gone. The tests I added there are quite similar to those of `trivial_merge()`. I hope we can make `Conflict::simplify()` call `trivial_merge()` later. I think it would also make sense to move `trivial_merge()` onto `Conflict`, or at least have a `Conflict::resolve_trivial()` calling `trivial_merge()`. |
||
---|---|---|
.. | ||
benches | ||
gen-protos | ||
src | ||
tests | ||
testutils | ||
build.rs | ||
Cargo.toml |