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

Re: [ANNOUNCE] Git v2.11.0-rc0

From
Stefan Beller <sbeller@google.com>
Date
Nov 1, 2016, 21:10 UTC
Message-ID
<CAGZ79ka6un7nHaNk3F8yp3vFSnB-iGapqLcZ-ZC3EvcKE4DMNQ@mail.gmail.com>
In-Reply-To
<20161101205916.d74n6lhgp2hexpzr@sigill.intra.peff.net>
On Tue, Nov 1, 2016 at 1:59 PM, Jeff King <peff@peff.net> wrote:
Show 16 quoted lines
> On Tue, Nov 01, 2016 at 01:56:34PM -0700, Junio C Hamano wrote:
>
>> > As of -rc0, we have both --indent-heuristic and --compaction-heuristic
>> > (along with matching config), and they are mutually exclusive.
>> >
>> > In [1], Stefan suggested just replacing the compaction heuristic
>> > entirely with the new one (and you seemed to agree). If we're going to
>> > do that, it makes sense to do so before the release, so that we don't
>> > get stuck supporting --indent-heuristic forever.
>>
>> You meant "compaction" in the last part?  I think it is probably a
>> good idea.
>
> I thought the plan mentioned in the mail I linked was to keep the indent
> heuristic, but simply _call_ it the compaction heuristic. IOW, to swap
> out the implementation under the hood for something we know is better.

AFAICT Michaels design is better in every aspect than what I did initially, so it supersedes the work I did there. I would support the swap in names.

>
> We've already released a version with --compaction-heuristic, so we are
> stuck keeping it forever either way.

IIRC the release notes specifically noted this flag to be experimental and may be removed in future versions.

When not doing the swap of the implementation, but rather remove the experimental feature of compaction-heuristic and introducing a *new* experimental --indent-heuristic, this may drive the point across that these names are actually experimental.

Previous: Michael HaggertyNext: Jacob Keller
Message 14 of 16 in “[ANNOUNCE] Git v2.11.0-rc0”
  1. Junio C HamanoOct 31, 2016
  2. Simon RuderichOct 31, 2016
  3. Patrick SteinhardtNov 1, 2016
  4. Jeff KingNov 1, 2016
  5. Junio C HamanoNov 1, 2016
  6. Jeff KingNov 1, 2016
  7. Junio C HamanoNov 1, 2016
  8. Junio C HamanoNov 1, 2016
  9. Stefan BellerNov 1, 2016
  10. Junio C HamanoNov 1, 2016
  11. Junio C HamanoNov 1, 2016
  12. Jeff KingNov 1, 2016
  13. Michael HaggertyNov 2, 2016
  14. Stefan BellerNov 1, 2016
  15. Jacob KellerNov 2, 2016
  16. Stefan BellerNov 1, 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.