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

Re: [PATCH] doc: note that interactive.singleKey is disabled by default

From
DSDragan Simic <dsimic@manjaro.org>
Date
May 22, 2024, 20:50 UTC
Message-ID
<a04bc0c38ad287b892c7dde37d782f12@manjaro.org>
In-Reply-To
<xmqqttip379x.fsf@gitster.g>
On 2024-05-22 22:45, Junio C Hamano wrote:
Show 17 quoted lines
> Dragan Simic <dsimic@manjaro.org> writes:
> 
>>   interactive.singleKey
>>      If true, allow the user to provide one-letter input with a
>>      single key (i.e., without hitting Enter key) in interactive
>>      commands.
>>      [...]
>> 
>> Thoughts?  It would be more consistent and a bit more clear, without
>> putting too much stress on the actual default value.
> 
> "When set to true" or "when configured to true" is much better than
> "defaults to true".
> 
> I am ambivalent about "If true", though.  It still leaves it open
> for some mysterious "default" mechanism giving the value true
> without user doing anything explicitly.

Makes sense. I'll send the v2 of this patch with "when set to true" in use, possibly with another patch that addresses already existing instances of "if true", for consistency.

Previous: Junio C Hamano
Message 6 of 6 in “doc: note that interactive.singleKey is disabled by default”
  1. doc: note that interactive.singleKey is disabled by defaultDragan Simic, May 22, 2024
  2. Rubén JustoMay 22, 2024
  3. Junio C HamanoMay 22, 2024
  4. Dragan SimicMay 22, 2024
  5. Junio C HamanoMay 22, 2024
  6. Dragan SimicMay 22, 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.