unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Using emerge as git mergetool
@ 2010-07-06 10:28 Andrea Crotti
  2010-07-06 10:34 ` Andrea Crotti
  0 siblings, 1 reply; 2+ messages in thread
From: Andrea Crotti @ 2010-07-06 10:28 UTC (permalink / raw)
  To: help-gnu-emacs

I think I want a very simple thing, being able to use emerge as merge
tool.
It works already but:
1. while in the shell it loads a terminal emacs instead of using EmacsClient
2. it loads my full configuration

So I would just like to change the "emacs" call to "Emacs -Q" (which is
an alias to my GUI version).

It should not be so hard but I don't find how the heck I should
configure it...
Until writing maybe I found:
 git config --global mergetool.emerge.cmd "Emacs -Q"

and it could be useful for someone else, but I don't know if it works
until the next conflict to solve...




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Using emerge as git mergetool
  2010-07-06 10:28 Using emerge as git mergetool Andrea Crotti
@ 2010-07-06 10:34 ` Andrea Crotti
  0 siblings, 0 replies; 2+ messages in thread
From: Andrea Crotti @ 2010-07-06 10:34 UTC (permalink / raw)
  To: help-gnu-emacs

Andrea Crotti <andrea.crotti.0@gmail.com> writes:
>
> and it could be useful for someone else, but I don't know if it works
> until the next conflict to solve...

Ok I found a nice way to test and no, it doesn't work...still using the
same one.

I would just like to know what command I should give to get the same
thing as git mergetool -t emerge

Should be something like
--8<---------------cut here---------------start------------->8---
 cmd = git-merge-diffmerge-wrapper.sh "$PWD/$LOCAL" "$PWD/$BASE"
 "$PWD/$REMOTE" "$PWD/$MERGED" 
--8<---------------cut here---------------end--------------->8---




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-06 10:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-06 10:28 Using emerge as git mergetool Andrea Crotti
2010-07-06 10:34 ` Andrea Crotti

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).