From: Sam Vilain Date: Mon, 02 Jul 2007 21:32:34 GMT Subject: Re: [PATCH] git-mergetool: add support for ediff Message-ID: <46896EF2.70006@vilain.net> In-Reply-To: <20070702020401.GD28917@thunk.org> Theodore Tso wrote: > After looking at ediff, it is definitely the more polished and > featureful compared to emerge --- except in one critical area, which > is calling as a mergeing tool from a shell script or command line. [...] > emacs --eval "(ediff-merge-files-with-ancestor \"$LOCAL\" \"$REMOTE\" \"$BASE\" nil \"$path\")" > > Unfortunately, it's not enough. Ediff doesn't have an "abort" command > which returns a non-zero exit status, and when you use the "quit" > command, it asks you a series of obnoxious questions: > > Quit this Ediff session? (y or n) > File /usr/projects/git/test/testfile.c exists, overwrite? (y or n) > Merge buffer saved in /usr/projects/git/test/testfile.c > > Merge buffer saved. Now kill the buffer? (y or n) Yeah, I normally just save the merged buffer and quit. This skips all that. But I will add your little snippet to my .emacs :) Sam.