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

Re: [PATCH 1/2] Allow to override mergetool.prompt with $GIT_MERGETOOL*_PROMPT

From
David Aguilar <davvid@gmail.com>
Date
Jan 22, 2010, 01:58 UTC
Message-ID
<20100122015802.GA20620@gmail.com>
In-Reply-To
<4B582807.8070504@gmail.com>
On Thu, Jan 21, 2010 at 11:10:15AM +0100, Sebastian Schuberth wrote:
Show 25 quoted lines
> On 21.01.2010 08:44, David Aguilar wrote:
>
>> The GIT_DIFFTOOL*_PROMPT variables are implementation details
>> about how git-difftool passes options to git-difftool--helper.
>> We don't advertise them in the documentation so we probably
>> shouldn't support them aside from what is needed for
>> git-difftool.  We can drop this part.
>
> Thanks for the explanation, I already was wondering why they don't  
> appear in the docs.
>
>> git-difftool falling back to mergetool.prompt when
>> difftool.prompt is not available is good, especially
>> since we advertise that feature.
>>
>> Once you drop the local declarations and the env. variable
>> it should be good to go.  Patch v2, soon?
>
> If I drop env. variable support, I don't see much reason to introduce  
> the should_prompt_merge () at all. I'd then leave git-mergetool* as-is,  
> and directly run "git config --bool mergetool.prompt" inside  
> should_prompt_diff (). Would that be OK with you?
>
> -- 
> Sebastian Schuberth
Sounds good.
Thanks,
-- 
		David
Previous: Sebastian Schuberth
Message 6 of 6 in “Allow to override mergetool.prompt with $GIT_MERGETOOL*_PROMPT”
  1. 1/2 Allow to override mergetool.prompt with $GIT_MERGETOOL*_PROMPTSebastian Schuberth, Jan 20, 2010
  2. Johannes SixtJan 20, 2010
  3. Sebastian SchuberthJan 20, 2010
  4. David AguilarJan 21, 2010
  5. Sebastian SchuberthJan 21, 2010
  6. David AguilarJan 22, 2010

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.