git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] mergetool: make Apple's FileMerge available as a merge_tool

From
Theodore Tso <tytso@mit.edu>
Date
Jun 17, 2007, 18:12 UTC
Message-ID
<20070617181200.GA15218@thunk.org>
In-Reply-To
<B12626B9-766E-4EA4-888F-B3E2DA889D15@zib.de>
On Sun, Jun 17, 2007 at 06:13:11PM +0200, Steffen Prohaska wrote:
> 
> Hmm, now I found out that opendiff, which was already available
> as an option, actually launches FileMerge.
Yep.
> I wasn't aware of this fact. git-mergetool proposed to use vimdiff
> although I had preferred the graphical application FileMerge, which
> would have been launched by opendiff.

Do you know of a way of determining whether or not under MacOS X, a program can easily determine whether or not the user is sitting in front of the graphical display, as opposed to coming in via an SSH connection?

If so, we could use that under MacOS to make the defaults be to use opendiff under those circumstances.

Realistically, though, past a certain point we can only be so smart with the hueristics. If you know what you want, you should really set the merge.tool config option in your ~/.gitconfig file, and be done with it.

> Don't know if my patch makes any sense. Probably a note in the
> documentation that opendiff launches the GUI would be nice.

Maybe a change so that opendiff is listed as "opendiff (aka FileMerge)", perhaps?

						- Ted
Previous: Steffen ProhaskaNext: Steffen Prohaska
Message 3 of 6 in “mergetool: make Apple's FileMerge available as a merge_tool”
  1. mergetool: make Apple's FileMerge available as a merge_toolSteffen Prohaska, Jun 17, 2007
  2. Steffen ProhaskaJun 17, 2007
  3. Theodore TsoJun 17, 2007
  4. Steffen ProhaskaJun 17, 2007
  5. Scott LambJun 18, 2007
  6. Theodore TsoJun 18, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.