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

Re: [PATCH] completion: add "diff.compactionHeuristic" to git config

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 17, 2016, 17:04 UTC
Message-ID
<xmqqshwb21de.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20160617164223.79500-1-martin.vladev@gmail.com>
Martin Vladev <martinvladev@gmail.com> writes:
> Signed-off-by: Martin Vladev <martin.vladev@gmail.com>
> ---

The reason why existing documentation marks this feature as experimental is because we would eventually want to end the experiment (and use the better heuristics, if the experiment yields one, unconditionally).

Making it more discoverable by completing like this will make it harder to end the experiment, so I am moderately negative on this change.

Thanks.
Show 15 quoted lines
>  contrib/completion/git-completion.bash | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
> index 3402475..55862d6 100644
> --- a/contrib/completion/git-completion.bash
> +++ b/contrib/completion/git-completion.bash
> @@ -2066,6 +2066,7 @@ _git_config ()
>  		core.whitespace
>  		core.worktree
>  		diff.autorefreshindex
> +		diff.compactionHeuristic
>  		diff.external
>  		diff.ignoreSubmodules
>  		diff.mnemonicprefix
Previous: Martin Vladev
Message 2 of 2 in “completion: add "diff.compactionHeuristic" to git config”
  1. completion: add "diff.compactionHeuristic" to git configMartin Vladev, Jun 17, 2016
  2. Junio C HamanoJun 17, 2016

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.