Say I have a code that is streamlined, but ordering is not a technical requirement.
apple
kiwi
strawberry
And I have two themes that I want to combine, whose differences are as follows:
TOPIC BRANCH: orange
kiwi
+ orange
strawberry
And
TOPIC BRANCH: pear
kiwi
+ pear
strawberry
Is there a way for these two patches to be automatically resolved? It seems to me that this is a merger conflict because they are competing for the same new line. The solution I came up with is changing the order of one of the changes, since the sort order is just a soft requirement (where the fruits are actually function definitions).
TOPIC BRANCH: pear'
apple
+ pear
kiwi
So, now we can combine orangeand pear'together to form:
_ apple
p pear
_ kiwi
o orange
_ strawberry
, ? , pear orange, orange , . , orange pear .
, .
: , ( , ?) , " " " ", , .