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

Re: [PATCH] diff: 'diff.indentHeuristic' is no longer experimental

From
Jeff King <peff@peff.net>
Date
Aug 15, 2019, 13:56 UTC
Message-ID
<20190815135628.GA27091@sigill.intra.peff.net>
In-Reply-To
<20190815091245.16525-1-szeder.dev@gmail.com>
On Thu, Aug 15, 2019 at 11:12:45AM +0200, SZEDER Gábor wrote:
Show 13 quoted lines
> The indent heuristic started out as experimental, but it's now our
> default diff heuristic since 33de716387 (diff: enable indent heuristic
> by default, 2017-05-08).  Alas, that commit didn't update the
> documentation, and the description of the 'diff.indentHeuristic'
> configuration variable still implies that it's experimental and not
> the default.
> 
> Update the description of 'diff.indentHeuristic' to make it clear that
> it's the default diff heuristic.
> 
> The description of the related '--indent-heuristic' option has already
> been updated in bab76141da (diff: --indent-heuristic is no
> longer experimental, 2017-10-29).
Yeah, this makes perfect sense.

I wondered briefly if we needed to distinguish between plumbing and porcelain here, but the config option (and its default) are the same for both.

-Peff
Previous: SZEDER GáborNext: Junio C Hamano
Message 3 of 4 in “Is diff.indentHeuristic still experimental?”
  1. Hong XuAug 15, 2019
  2. diff: 'diff.indentHeuristic' is no longer experimentalSZEDER Gábor, Aug 15, 2019
  3. Jeff KingAug 15, 2019
  4. Junio C HamanoAug 15, 2019

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.