summaryrefslogtreecommitdiff
path: root/tests/merge/conflict_data.h
Commit message (Collapse)AuthorAgeFilesLines
* merge: handle conflicts in recursive base buildingEdward Thomson2015-11-251-0/+31
| | | | | | | | | | | | | | | | | When building a recursive merge base, allow conflicts to occur. Use the file (with conflict markers) as the common ancestor. The user has already seen and dealt with this conflict by virtue of having a criss-cross merge. If they resolved this conflict identically in both branches, then there will be no conflict in the result. This is the best case scenario. If they did not resolve the conflict identically in the two branches, then we will generate a new conflict. If the user is simply using standard conflict output then the results will be fairly sensible. But if the user is using a mergetool or using diff3 output, then the common ancestor will be a conflict file (itself with diff3 output, haha!). This is quite terrible, but it matches git's behavior.
* recursive: test conflict output during recursive mergeEdward Thomson2015-11-251-0/+30
|
* merge tests: move expected data into own fileEdward Thomson2015-11-251-0/+42