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

Re: [PATCH] git-mergetool: Allow gvimdiff to be used as a mergetool

From
Theodore Tso <tytso@mit.edu>
Date
Jun 6, 2007, 02:45 UTC
Message-ID
<20070606024545.GA32603@thunk.org>
In-Reply-To
<11810938823594-git-send-email-dpmcgee@gmail.com>

Dan, your patch didn't add a gvimdiff check to the code which determins which merge tool to use if one isn't specified in the config file:

if test -z "$merge_tool" ; then
    if type kdiff3 >/dev/null 2>&1 && test -n "$DISPLAY"; then
	merge_tool="kdiff3";
    elif type tkdiff >/dev/null 2>&1 && test -n "$DISPLAY"; then
	merge_tool=tkdiff
    elif type xxdiff >/dev/null 2>&1 && test -n "$DISPLAY"; then
	merge_tool=xxdiff
    elif type meld >/dev/null 2>&1 && test -n "$DISPLAY"; then
	merge_tool=meld
    elif type opendiff >/dev/null 2>&1; then
	merge_tool=opendiff
    ...
Was this interntional?
Regards,
						- Ted
Previous: Dan McGeeNext: Dan McGee
Message 2 of 3 in “git-mergetool: Allow gvimdiff to be used as a mergetool”
  1. git-mergetool: Allow gvimdiff to be used as a mergetoolDan McGee, Jun 6, 2007
  2. Theodore TsoJun 6, 2007
  3. Dan McGeeJun 9, 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.