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

Re: Unifying mergetool configuration between git and git-gui

From
David Aguilar <davvid@gmail.com>
Date
Jul 23, 2012, 02:00 UTC
Message-ID
<CAJDDKr4aeDToxw177pBoZE5SW5hRoM3_xWi9oHLz0gmRkpVFTw@mail.gmail.com>
In-Reply-To
<500C0C9F.1000709@gmail.com>

On Sun, Jul 22, 2012 at 7:22 AM, Sebastian Schuberth <sschuberth@gmail.com> wrote:

Show 11 quoted lines
> Hi,
>
> I was about to add a configuration for yet another mergetool when I realized
> that git gui's mergetool.tcl pretty much duplicates git's mergetools/*
> configuration files. Can some one tell me why this is necessary? I would
> have expected git gui to simply rely on "git mergetool" to launch the
> mergetool. Or, in case that git gui needs to use a different tool than the
> one configured as mergetool, that mergetool.tcl somehow uses the
> configuration from mergetools/*.
>
> Thanks for any insights.
I think the mergetool stuff in git-gui predates git-mergetool.
Ditto the "external diff" stuff in gitk -- it predates git-difftool.

It would be good to unify these so that the difftool/mergetool experience is consistent.

As for how to have different diff/merge tools in GUI vs non-GUI modes -- we have 'diff.guitool' to override 'diff.tool' when "git difftool --gui" is used. We do not have an equivalent 'merge.guitool', but that would probably be the way to do it.

-- 
David
Previous: Sebastian Schuberth
Message 2 of 2 in “Unifying mergetool configuration between git and git-gui”
  1. Sebastian SchuberthJul 22, 2012
  2. David AguilarJul 23, 2012

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.