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

Re: [PATCH] Documentation: mark `--object-format=sha256` as experimental

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 13, 2020, 20:34 UTC
Message-ID
<xmqqmu2y1e0t.fsf@gitster.c.googlers.com>
In-Reply-To
<CAN0heSqyBzW_+vWSAxV9O1XAJKmQgrhCms7mSa+hFFx35uU05w@mail.gmail.com>
Martin Ågren <martin.agren@gmail.com> writes:
Show 24 quoted lines
>> IOW, you question "if we go a few releases without any major issues"
>> part?  I tend to agree that for a large change like this, a few
>> releases may not be sufficiently long time for a feature that is
>> marked as experimental in big flashing red letters to get exercised
>> enough to get major issues noticed.
>
> Yeah, thanks for summarizing what I failed to express using so many
> words.
>
> I'm fully open to the idea that some people want to leave SHA-1 behind
> and that they can do it today, in some "local" sense. If those people
> are fully aware that they are guinea pigs, it might actually be ok for
> us to subject them to a few rounds of "oops, Git v2.32.0 produces data
> that v2.34.0 and later will barf on". Or at least it would be on our
> table whether we wanted to be that cavalier.
>
> Once SHA-256 repos as such are no longer experimental, I fear that we
> can only buy ourselves that leeway by introducing fiftyeleven different
> config flags for "please produce auxiliary files X even if you don't
> actually use them", "please do use X, and I'm fully expecting to trip on
> them if you decide to tweak them in backwards-incompatible ways", and so
> on. The alternative to buying such leeway might be to establish, pretty
> early on, a respectable set of things we support "for compatibility
> reasons".
OK, so can we resolve this one way or the other and move on?

For now, I'd vote for applying this warning patch, but with or without such warning, it is more important to iron out those details we fear might have to change.

Thanks.
Previous: Martin ÅgrenNext: brian m. carlson
Message 6 of 8 in “Documentation: mark `--object-format=sha256` as experimental”
  1. Documentation: mark `--object-format=sha256` as experimentalMartin Ågren, Aug 6, 2020
  2. brian m. carlsonAug 6, 2020
  3. Martin ÅgrenAug 7, 2020
  4. Junio C HamanoAug 7, 2020
  5. Martin ÅgrenAug 7, 2020
  6. Junio C HamanoAug 13, 2020
  7. brian m. carlsonAug 14, 2020
  8. Documentation: mark `--object-format=sha256` as experimentalMartin Ågren, Aug 16, 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.