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

Re: [PATCH] mergetools: add winmerge as a builtin tool

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
May 12, 2015, 15:03 UTC
Message-ID
<f44bed1d712b4be11ee143cc33ef0bb1@www.dscho.org>
In-Reply-To
<1431422977-61243-1-git-send-email-davvid@gmail.com>
Hi David,
On 2015-05-12 11:29, David Aguilar wrote:
Show 6 quoted lines
> +	# Look for WinMergeU.exe in the typical locations
> +	winmerge_exe="WinMerge/WinMergeU.exe"
> +	if test -n "$PROGRAMFILES" && test -x "$PROGRAMFILES/$winmerge_exe"
> +	then
> +		printf '%s' "$PROGRAMFILES/$winmerge_exe"
> +	elif test -x "/c/Program Files (x86)/$winmerge_exe"
At this stage you probably want to look for "$ProgramW6432" first.
Show 9 quoted lines
> +	then
> +		printf '%s' "/c/Program Files (x86)/$winmerge_exe"
> +	elif test -x "/c/Program Files/$winmerge_exe"
> +	then
> +		printf '%s' "/c/Program Files/$winmerge_exe"
> +	else
> +		echo WinMergeU.exe
> +	fi
> +}

Ciao, Johannes

Previous: David Aguilar
Message 2 of 2 in “mergetools: add winmerge as a builtin tool”
  1. mergetools: add winmerge as a builtin toolDavid Aguilar, May 12, 2015
  2. Johannes SchindelinMay 12, 2015

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.