From: "João Távora" <joaotavora@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Glenn Morris <rgm@gnu.org>, Noam Postavsky <npostavs@gmail.com>,
emacs-devel@gnu.org
Subject: Re: Resuming M-x gitmerge
Date: Mon, 11 Jun 2018 07:54:00 +0100 [thread overview]
Message-ID: <CALDnm524+hpnfJ3zwW5BQJjuF=9Ngd2LUeCNgPyhZ3UH_q0ZkA@mail.gmail.com> (raw)
In-Reply-To: <83sh5uqc8w.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1179 bytes --]
On Mon, Jun 11, 2018, 03:38 Eli Zaretskii <eliz@gnu.org> wrote:
> > From: Noam Postavsky <npostavs@gmail.com>
> > Date: Sun, 10 Jun 2018 19:54:58 -0400
> > Cc: Glenn Morris <rgm@gnu.org>
> >
> > When M-x gitmerge hits a conflict, it shows a window with the message:
> >
> > Resolve the conflicts manually, then run gitmerge again.
> > Note:
> > - You don't have to add resolved files or commit the merge
> yourself (but you can).
> > - You can safely close this Emacs session and do this in a new one.
> > - When running gitmerge again, remember that you must do that from
> within the Emacs repo.
> >
> > The first note is either wrong, or I'm misunderstanding it. If I don't
> > 'git add' the resolved files and commit the merge, then trying to run
> > M-x gitmerge again fails with (user-error "Repository is not clean").
>
> I was under the impression that resolving conflicts and saving the
> modified files automatically runs "git add" on the files.
>
It does. Sometimes, but not always. I've never figured out the conditions
that lead to each situation. I'm not using M-x gitmerge btw, just regular
smerge.
João
[-- Attachment #2: Type: text/html, Size: 1799 bytes --]
next prev parent reply other threads:[~2018-06-11 6:54 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-10 23:54 Resuming M-x gitmerge Noam Postavsky
2018-06-11 2:37 ` Eli Zaretskii
2018-06-11 6:54 ` João Távora [this message]
2018-06-11 12:40 ` Noam Postavsky
2018-06-11 15:30 ` Eli Zaretskii
2018-06-11 15:46 ` Stefan Monnier
2018-06-11 16:00 ` Eli Zaretskii
2018-06-11 16:14 ` Noam Postavsky
2018-06-11 15:50 ` Glenn Morris
2018-06-11 16:12 ` Noam Postavsky
2018-06-11 18:18 ` Glenn Morris
2018-06-11 19:31 ` David Engster
2018-06-12 0:48 ` Noam Postavsky
2018-06-19 0:27 ` Noam Postavsky
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CALDnm524+hpnfJ3zwW5BQJjuF=9Ngd2LUeCNgPyhZ3UH_q0ZkA@mail.gmail.com' \
--to=joaotavora@gmail.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=npostavs@gmail.com \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).