Am 11.06.21 um 13:51 schrieb Sergey Organov:
I don't get it. Once you have diff3 output, and you want something
simpler, you just kill the inner section, right? RCS merge output style
is simply inferior.
There is an important case where RCS style is not inferior: When the base is
123456
then our side makes it
12ABC56
and their side makes it
12AXC56
then diff3 must display the conflict as
12<ABC|34=AXC>56
to be technically correct. RCS style can coalesce A and C outside of the
conflict and display it as
12A<B=X>C34
and *that* is the helpful part of this simpler style. You encounter
these kinds of conflicts *a lot* when you juggle fixups in a rebase
--interactive session.
The thread mentioned earlier upthread explores whether diff3 can do a
similar simplification.
-- Hannes