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 18, 2007, 13:18 UTC
Message-ID
<20070618131800.GA30244@thunk.org>
In-Reply-To
<467652BC.4050900@slamb.org>
On Mon, Jun 18, 2007 at 02:39:08AM -0700, Scott Lamb wrote:
Show 11 quoted lines
> I propose a simpler test:
> 
>     if [ -n "$TERM_PROGRAM" ]; then
>         echo local
>     else
>         echo remote
>     fi
> 
> This environment variable seems to be set by Terminal.app and even two
> alternatives I just tried (iTerm.app and GLterm.app). It's not
> transmitted across ssh unless you stick an AcceptEnv in sshd_config.
Thanks, that's just what I was looking for!
						- Ted
Previous: Scott Lamb
Message 6 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.