all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Copley <rcopley@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Glenn Morris <rgm@gnu.org>,
	"emacs-devel@gnu.org" <emacs-devel@gnu.org>,
	Stephan.Mueller@microsoft.com,
	Noam Postavsky <npostavs@users.sourceforge.net>,
	Kaushal Modi <kaushal.modi@gmail.com>
Subject: Re: Regarding smerge upper/lower; needs NEWS
Date: Thu, 15 Mar 2018 15:30:40 +0000	[thread overview]
Message-ID: <CAPM58oi-ytFpYjS_ohQcWMjwb=tYu+zyDR-WZ9wRV5vjrpbiiw@mail.gmail.com> (raw)
In-Reply-To: <jwvbmfp5qjy.fsf-monnier+emacs@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1210 bytes --]

On 15 March 2018 at 15:04, Stefan Monnier <monnier@iro.umontreal.ca> wrote:

> > "A" and "B" are the names diff3 uses for the conflict markers.
> > "A" and "B" are the names used in the documentation.
> > "UPPER" and "LOWER" are useless since they don't match up with anything
> > else (the conflict markers and the documentation).
>
> They match up with the location of the corresponding chunk of text, tho.
>
> > "UPPER" and "LOWER" are confusing since they are often shown on the left
> > and right respectively.
>
> In SMerge? In which circumstance would it be the case?
>
>
>         Stefan
>

In "smerge-ediff", I think.

Suppose
  git checkout xxx
  git merge master
leaves merge conflicts.
Visit a conflicted file and type C-c ^ E.

If merge.conflictstyle=diff3 I get (for example):

top-left: "*main.cpp UPPER=HEAD*"
top-right: "*main.cpp LOWER=master*"
bottom-left: "*ediff-merge*"
bottom-right: "*main.cpp BASE=merged common ancestors*"

Or with git's default (no merge.conflictstyle configured):

top-left: "*main.cpp UPPER=HEAD*"
top-right: "*main.cpp LOWER=master*"
bottom: "*ediff-merge*"

And in the "*ediff-merge*" buffer, the conflict markers are "<<<<<<<
variant A" and ">>>>>>> variant B".

[-- Attachment #2: Type: text/html, Size: 2622 bytes --]

  reply	other threads:[~2018-03-15 15:30 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-21 14:01 Regarding smerge upper/lower; needs NEWS Kaushal Modi
2017-03-24 19:46 ` Glenn Morris
2017-04-07 18:06   ` Richard Copley
2017-04-07 19:09     ` Noam Postavsky
2017-04-07 19:23       ` Richard Copley
2017-04-07 19:24         ` Richard Copley
2017-04-07 19:53           ` Richard Copley
2017-04-13  0:49             ` Noam Postavsky
2017-04-13 18:32               ` Stefan Monnier
2017-04-13 19:03                 ` Noam Postavsky
     [not found]                 ` <CY1PR03MB2251867FBF42034CF55007ADF0020@CY1PR03MB2251.namprd03.prod.outlook.com>
2017-04-13 19:34                   ` Stephan Mueller
2018-03-15 14:37                     ` Richard Copley
2018-03-15 15:04                       ` Stefan Monnier
2018-03-15 15:30                         ` Richard Copley [this message]
2018-03-15 15:43                           ` Stefan Monnier
2018-03-15 16:09                             ` Richard Copley
2018-03-15 15:30                       ` Kaushal Modi
2018-03-15 15:37                         ` Richard Copley
2018-03-15 15:39                           ` Kaushal Modi
2018-03-15 16:45                       ` Glenn Morris
2018-03-15 17:00                         ` Eli Zaretskii
2018-03-15 17:06                           ` Óscar Fuentes
2018-03-15 17:15                             ` Eli Zaretskii
2018-03-15 18:15                               ` Stefan Monnier
2018-03-15 18:45                                 ` Drew Adams
2018-03-15 19:05                                   ` Stefan Monnier
2018-03-15 19:44                                     ` Drew Adams
2018-03-15 17:14                         ` Richard Copley
2018-03-15 18:54                           ` Stefan Monnier
2018-03-15 20:10                           ` Richard Copley
2018-03-16  2:20                             ` Noam Postavsky
2018-03-16 12:23                               ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPM58oi-ytFpYjS_ohQcWMjwb=tYu+zyDR-WZ9wRV5vjrpbiiw@mail.gmail.com' \
    --to=rcopley@gmail.com \
    --cc=Stephan.Mueller@microsoft.com \
    --cc=emacs-devel@gnu.org \
    --cc=kaushal.modi@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    --cc=npostavs@users.sourceforge.net \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.