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

Equivalent of difftool.prompt per tool?

From
Ryan Zoeller <rtzoeller@rtzoeller.com>
Date
Jul 19, 2024, 03:31 UTC
Message-ID
<wglGbP7resY1dIKhfKqMcs6Xxu7f8iWSZ76k-MFC91eKTEWN2Aw4D6TqNAEndu5b1VZMVnOIS8m9HNoZPFxd6NZjKKmW0OmM8h5bAEuwoVY=@rtzoeller.com>
Is there a way to specify difftool.prompt on a per-tool basis, without manually passing --prompt or --no-prompt to override the global difftool.prompt setting?
I generally want `difftool.prompt = false` set, but one specific tool I use has a high startup time and I'd like confirmation before launching it.
If this isn't possible today, is difftool.<tool>.prompt something others would find useful?

Thanks, Ryan Zoeller

Next: Junio C Hamano
Message 1 of 3 in “Equivalent of difftool.prompt per tool?”
  1. Ryan ZoellerJul 19, 2024
  2. Junio C HamanoJul 19, 2024
  3. rsbecker@nexbridge.comJul 19, 2024

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.