help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Looking for a helper for advanced conflicts resolution.


From: Yuri Khan
Subject: Re: Looking for a helper for advanced conflicts resolution.
Date: Sat, 25 Jul 2020 02:06:56 +0700

On Fri, 24 Jul 2020 at 23:27, Michael Heerdegen
<michael_heerdegen@web.de> wrote:
> Sergey Organov <sorganov@gmail.com> writes:
> > To aid in resolution of complex conflicts, I'd like to know if there is
> > a tool in Emacs that, given diff3-style 3-way conflict output, would
> > convert it into 2 simple diffs: "mine" changes from common ancestor, and
> > "yours" changes from common ancestor. Does anybody know about one?
>
> Doesn't "smerge" do that (`smerge-diff-base-upper',
> `smerge-diff-base-lower', `smerge-diff-upper-lower')?

+1 to smerge. In the majority of complex conflicts I face, I can
toggle ‘smerge-refine’ a couple times, choose one side that has the
easier diff, and manually apply it to the other side. I don’t even
have to see the 2-way diffs.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]