Skip to contentSkip to conversation

doc: remove outdated information about interactive.singleKey

PATCH New Julio Bacellari 1 participant 1 message Feb 18, 2024 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: remove outdated information about interactive.singleKey

The Perl implementation of add --interactive was removed in commit [1].

Additionally, the interactive.singleKey setting is no longer silently ignored. The internal implementation of ReadKey [2] displays a warning if the platform is unsupported.

[1] 20b813d7d (add: remove "add.interactive.useBuiltin" & Perl "git add--interactive", 2023-02-06)
[2] a5e46e6b0 (terminal: add a new function to read a single keystroke, 2020-01-14)

---
 Documentation/config/interactive.txt | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
Documentation/config/interactive.txt +1 -3
index a2d3c7ec449e..5cc26555f19a 100644
@@ -4,9 +4,7 @@ interactive.singleKey::
 	Currently this is 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]. Note that this
-	setting is silently ignored if portable keystroke input
-	is not available; requires the Perl module Term::ReadKey.
+	linkgit:git-reset[1], and linkgit:git-stash[1].
 
 interactive.diffFilter::
 	When an interactive command (such as `git add --patch`) shows
Signature · 1 line
2.43.0