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

Re: [PATCH] mergetool: support absolute paths to tools by git config merge.<tool>path

From
Steffen Prohaska <prohaska@zib.de>
Date
Oct 9, 2007, 06:42 UTC
Message-ID
<9505CF7F-2024-48A8-88B0-0410DB2572B6@zib.de>
In-Reply-To
<20071008220025.GZ31659@planck.djpig.de>
On Oct 9, 2007, at 12:00 AM, Frank Lichtenheld wrote:
Show 11 quoted lines
> On Mon, Oct 08, 2007 at 11:22:40PM +0200, Steffen Prohaska wrote:
>> This commit adds a mechanism to provide absolute paths to the
>> commands called by 'git mergetool'. A path can be specified
>> in the configuation variable merge.<toolname>path.
>
> Why not merge.<toolname>.path?
>
> This would it make easy to introduce new variables of the form
> merge.<toolname>.<var> later if needed. I also think it is more
> consistent with names of existing configuration variables.
> (think branch.<name>.<var> or remote.<name>.<var>)

Looks more beautiful on the command line but a bit more complex in the config file. But I like the idea.

Maybe mergetool.<tool>.path is even a better choice? It clearly indicate the relationship with mergetool. We could explain:

'The variable merge.tool = <tool> refers to a tool that can be further specified in mergetool.<tool>.path.'

	Steffen
Previous: Frank LichtenheldNext: Johannes Schindelin
Message 14 of 15 in “mergetool: support absolute paths to tools by git config merge.<tool>path”
  1. mergetool: support absolute paths to tools by git config merge.<tool>pathSteffen Prohaska, Oct 8, 2007
  2. mergetool: add support for ECMergeSteffen Prohaska, Oct 8, 2007
  3. Theodore TsoOct 8, 2007
  4. Steffen ProhaskaOct 9, 2007
  5. Johannes SchindelinOct 9, 2007
  6. Steffen ProhaskaOct 9, 2007
  7. Alan HadsellOct 9, 2007
  8. Steffen ProhaskaOct 9, 2007
  9. Alan HadsellOct 9, 2007
  10. Theodore TsoOct 8, 2007
  11. Theodore TsoOct 8, 2007
  12. Steffen ProhaskaOct 9, 2007
  13. Frank LichtenheldOct 8, 2007
  14. Steffen ProhaskaOct 9, 2007
  15. Johannes SchindelinOct 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.