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

Re: jn/experimental-opts-into-proto-v2, was Re: What's cooking in git.git (May 2020, #09; Tue, 26)

From
Junio C Hamano <gitster@pobox.com>
Date
May 28, 2020, 00:43 UTC
Message-ID
<xmqqeer46g9l.fsf@gitster.c.googlers.com>
In-Reply-To
<20200527235808.GD56118@google.com>
Jonathan Nieder <jrnieder@gmail.com> writes:
Show 8 quoted lines
>> I have been wondering about the same thing, and if it were not using
>> its own custom way to read the configuration, it would have been a
>> non-brainer to merge it down before the release.
>
> Hm, do you have more detail about this?  git_config_get_bool feels
> very standard and non-custom.
>
> Do you mean that you would like it to go in repo-settings.c?

No. I fully accept your reasoning in the proposed log message why a handcrafted query to the config system is done in the location the patch adds a call. There is nothing wrong with the patch.

But that means that the way it uses the "experimental" variable is different from the battle-tested way it has been used, which makes it less than "non-brainer". It may not be risky after all, but still. This late in the cycle, the fewer things we need to worry about, the better.

Show 7 quoted lines
>
>>                                                   But this late in
>> the cycle, I'd rather not.
>
> Sure, I can understand.
>
> Would this be something to put on "master" soon after the release?
That was exactly what I had in mind.
Previous: Jonathan NiederNext: Johannes Schindelin
Message 5 of 7 in “What's cooking in git.git (May 2020, #09; Tue, 26)”
  1. Junio C HamanoMay 26, 2020
  2. jn/experimental-opts-into-proto-v2, was Re: What's cooking in git.git (May 2020, #09; Tue, 26)Johannes Schindelin, May 27, 2020
  3. Junio C HamanoMay 27, 2020
  4. Jonathan NiederMay 27, 2020
  5. Junio C HamanoMay 28, 2020
  6. Johannes SchindelinMay 27, 2020
  7. Junio C HamanoMay 28, 2020

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.