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
Junio C Hamano <gitster@pobox.com>
Date
May 22, 2024, 20:45 UTC
Message-ID
<xmqqttip379x.fsf@gitster.g>
In-Reply-To
<54c318f42ce63f0575ea48f3dc1e8361@manjaro.org>
Dragan Simic <dsimic@manjaro.org> writes:
Show 8 quoted lines
>   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.

Previous: Dragan SimicNext: Dragan Simic
Message 5 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.