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

[PATCH v3] doc: interactive.singleKey is disabled by default

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 7, 2024, 22:27 UTC
Message-ID
<xmqq4ja4e6d6.fsf@gitster.g>
In-Reply-To
<7da73f15a018d858519eefa373001ccb3eaf32e2.1716412958.git.dsimic@manjaro.org>
From: Dragan Simic <dsimic@manjaro.org>

Make it clear that the interactive.singleKey configuration option is disabled by default, using rather subtle wording that avoids an emphasis on the actual default value. This should eliminate any associated doubts.

While there, touch up the remaining wording of the description a bit.
Signed-off-by: Dragan Simic <dsimic@manjaro.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 * While I think it is pointless to say an optional on/off switch
   defaults to off, the structure of the paragraph is better with
   the updated text overall, so let's take this version before we
   forget.
 Documentation/config/interactive.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/config/interactive.txt b/Documentation/config/interactive.txt
index 5cc26555f1..8b876cb4eb 100644
--- a/Documentation/config/interactive.txt
+++ b/Documentation/config/interactive.txt
@@ -1,8 +1,8 @@
 interactive.singleKey::
-	In interactive commands, allow the user to provide one-letter
-	input with a single key (i.e., without hitting enter).
-	Currently this is used by the `--patch` mode of
-	linkgit:git-add[1], linkgit:git-checkout[1],
+	When set to true, allow the user to provide one-letter input
+	with a single key (i.e., without hitting the Enter key) in
+	interactive commands.  This is currently used by the `--patch`
+	mode of linkgit:git-add[1], linkgit:git-checkout[1],
 	linkgit:git-restore[1], linkgit:git-commit[1],
 	linkgit:git-reset[1], and linkgit:git-stash[1].
 
-- 
2.45.2-445-g1b76f06508
Previous: Dragan Simic
Message 10 of 10 in “doc: imply that interactive.singleKey is disabled by default”
  1. doc: imply that interactive.singleKey is disabled by defaultDragan Simic, May 22, 2024
  2. Junio C HamanoMay 22, 2024
  3. Dragan SimicMay 22, 2024
  4. Dragan SimicMay 31, 2024
  5. Junio C HamanoMay 31, 2024
  6. Dragan SimicMay 31, 2024
  7. Dragan SimicJun 4, 2024
  8. Junio C HamanoJun 7, 2024
  9. Dragan SimicJun 8, 2024
  10. doc: interactive.singleKey is disabled by defaultJunio C Hamano, Jun 7, 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.