{"thread":{"id":"60944","subject":"[PATCH] doc: remove outdated information about interactive.singleKey","startedAt":"2024-02-18T03:16:06Z","lastAt":"2024-02-18T03:16:06Z","messageCount":1,"participants":["Julio Bacellari"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"488859","messageId":"20240218030327.40453-1-julio.bacel@gmail.com","threadId":"60944","inReplyTo":null,"subject":"[PATCH] doc: remove outdated information about interactive.singleKey","fromName":"Julio Bacellari","fromEmail":"julio.bacel@gmail.com","sentAt":"2024-02-18T03:02:59Z","receivedAt":"2024-02-18T03:16:06Z","isPatch":true,"sender":{"key":"julio.bacel@gmail.com","avatar":null},"body":"The Perl implementation of add --interactive was removed in commit [1].\n\nAdditionally, the interactive.singleKey setting is no longer silently\nignored. The internal implementation of ReadKey [2] displays a warning\nif the platform is unsupported.\n\n[1] 20b813d7d (add: remove \"add.interactive.useBuiltin\" & Perl \"git add--interactive\", 2023-02-06)\n[2] a5e46e6b0 (terminal: add a new function to read a single keystroke, 2020-01-14)\n\nSigned-off-by: Julio Bacellari <julio.bacel@gmail.com>\n---\n Documentation/config/interactive.txt | 4 +---\n 1 file changed, 1 insertion(+), 3 deletions(-)\n\ndiff --git a/Documentation/config/interactive.txt b/Documentation/config/interactive.txt\nindex a2d3c7ec449e..5cc26555f19a 100644\n--- a/Documentation/config/interactive.txt\n+++ b/Documentation/config/interactive.txt\n@@ -4,9 +4,7 @@ interactive.singleKey::\n \tCurrently this is used by the `--patch` mode of\n \tlinkgit:git-add[1], linkgit:git-checkout[1],\n \tlinkgit:git-restore[1], linkgit:git-commit[1],\n-\tlinkgit:git-reset[1], and linkgit:git-stash[1]. Note that this\n-\tsetting is silently ignored if portable keystroke input\n-\tis not available; requires the Perl module Term::ReadKey.\n+\tlinkgit:git-reset[1], and linkgit:git-stash[1].\n \n interactive.diffFilter::\n \tWhen an interactive command (such as `git add --patch`) shows\n-- \n2.43.0\n\n"}]}