In the following git scenario:
A -- B1 -- B2 -- B3
\- C1 -- C2 -- C3
I would like to merge C into B, producing another revision D, such that there are NO changes between B3 and D. In other words, the result is:
A -- B1 -- B2 -- B3 -- D
\- C1 -- C2 -- C3 -/
and D is identical to B3.
Using git merge --strategy-option ours
doesn't quite do the right thing: it resolves conflicts in favor of B, but still merges non-conflicting changes.