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
Rubén Justo <rjusto@gmail.com>
Date
May 22, 2024, 17:31 UTC
Message-ID
<f7cf64cc-1458-49db-979f-eb4c70223620@gmail.com>
In-Reply-To
<3141fe9f7328a97bf3818748421f6ae929120626.1716363167.git.dsimic@manjaro.org>
On Wed, May 22, 2024 at 09:34:16AM +0200, Dragan Simic wrote:
Show 17 quoted lines
> Make it clear that the interactive.singleKey configuration option is disabled
> by default.  This should eliminate any associated doubts.
> 
> Signed-off-by: Dragan Simic <dsimic@manjaro.org>
> ---
>  Documentation/config/interactive.txt | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/config/interactive.txt b/Documentation/config/interactive.txt
> index 5cc26555f19a..067496d77cea 100644
> --- a/Documentation/config/interactive.txt
> +++ b/Documentation/config/interactive.txt
> @@ -5,6 +5,7 @@ interactive.singleKey::
>  	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].
> +	This is disabled by default.

I'm on the fence if it needs to be said explicitly. But, I'll add that it has been so since it was introduced in ca6ac7f135 (add -p: prompt for single characters, 2009-02-05).

Thank you for your attention to detail.
>  
>  interactive.diffFilter::
>  	When an interactive command (such as `git add --patch`) shows
Previous: Dragan SimicNext: Junio C Hamano
Message 2 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.