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

Re: [PATCH v2] help.c: help.autocorrect=prompt waits for user action

From
Bagas Sanjaya <bagasdotme@gmail.com>
Date
Aug 14, 2021, 05:50 UTC
Message-ID
<c3b9aac8-992c-30de-c6a1-852b81ddecff@gmail.com>
In-Reply-To
<pull.1012.v2.git.1628917872724.gitgitgadget@gmail.com>
On 14/08/21 12.11, Azeem Bande-Ali via GitGitGadget wrote:
Show 18 quoted lines
>   help.autoCorrect::
>   	If git detects typos and can identify exactly one valid command similar
> -	to the error, git will automatically run the intended command after
> -	waiting a duration of time defined by this configuration value in
> -	deciseconds (0.1 sec).  If this value is 0, the suggested corrections
> -	will be shown, but not executed. If it is a negative integer, or
> -	"immediate", the suggested command
> -	is run immediately. If "never", suggestions are not shown at all. The
> -	default value is zero.
> +	to the error, git will try to suggest the correct command or even
> +	run the suggestion automatically. Possible config values are:
> +	 - 0 (default): show the suggested command.
> +	 - positive number: run the suggested command after specified
> +deciseconds (0.1 sec).
> +	 - "immediate": run the suggested command immediately.
> +	 - "prompt": show the suggestion and prompt for confirmation to run
> +the command.
> +	 - "never": don't run or show any suggested command.
Looks OK.
Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
-- 
An old man doll... just what I always wanted! - Clara
Previous: Azeem Bande-Ali via GitGitGadgetNext: Junio C Hamano
Message 7 of 12 in “help.c: help.autocorrect=prompt waits for user action”
  1. help.c: help.autocorrect=prompt waits for user actionAzeem Bande-Ali via GitGitGadget, Aug 11, 2021
  2. Bagas SanjayaAug 12, 2021
  3. Azeem Bande-AliAug 14, 2021
  4. Junio C HamanoAug 12, 2021
  5. Azeem Bande-AliAug 14, 2021
  6. help.c: help.autocorrect=prompt waits for user actionAzeem Bande-Ali via GitGitGadget, Aug 14, 2021
  7. Bagas SanjayaAug 14, 2021
  8. Junio C HamanoAug 14, 2021
  9. Azeem Bande-AliAug 14, 2021
  10. Johannes SchindelinAug 16, 2021
  11. help.c: help.autocorrect=prompt waits for user actionAzeem Bande-Ali via GitGitGadget, Aug 15, 2021
  12. Junio C HamanoSep 8, 2021

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.