I have file where lines supposed to be only added, not changed. Therefore I used merge union strategy. But it doesn't work good for this case, because it doesn't keep duplicities when same line was added in both branches - and I need the line twice (if it was added in both)
Example: Ours added:
A
- B
- X
- X
Theirs added:
C
- D
- X
- X
How it is merged:
A
- B
C
- D
- X
- X
What I need:
A
- B
- X
- X
C
- D
- X
- X
I understand why this is happen (union solves just the lines in conflict and X's aren't in any conflict) but how to gain what I need? Is there some other strategy, combination etc.?