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

Re: [PATCH] Revert "Declare both git-switch and git-restore experimental"

From
Kristoffer Haugsbakk <code@khaugsbakk.name>
Date
Feb 20, 2024, 11:36 UTC
Message-ID
<920a0f61-d30b-49f1-87b3-fb947cb3c33d@app.fastmail.com>
In-Reply-To
<95eb92cb-7954-41c0-b542-5169ed5f9892@kernel.org>
On Tue, Feb 20, 2024, at 10:58, Matthieu Baerts wrote:
Show 28 quoted lines
> Hi Kristoffer,
>
> Thank you for your comment.
>
> On 20/02/2024 10:36, Kristoffer Haugsbakk wrote:
>> On Tue, Feb 20, 2024, at 10:29, Matthieu Baerts (NGI0) wrote:
>>> This reverts commit 4e43b7ff1ea4b6f16b93a432b6718e9ab38749bd.
>>> Version 2.44 is approaching, almost 5 years after the introduction of
>>> these two commands, it then looks safe to remove this experimental
>>> status.
>>
>> Is this only based on the amount of time passed? Has there been any
>> relevant discussions on the mailing list that discuss how mature these
>> commands are and if they should be changed (with presumably a “no” to
>> the question about being changed)?
>
> It is only based on the amount of time passed, indeed.
>
> I initially wanted to start a discussion on the mailing list: "is it
> normal these commands are still marked as experimental?". Then I saw the
> patch introducing this status, which was suggesting doing a revert in
> version 2.24 or 2.25. That's why I sent this, to start the discussions
> with a patch that is ready to apply. Is it not OK to do that here?
>
> Also, when I quickly looked at the history, I didn't see any behaviour
> changes since their introduction. Maybe there was a minor change with
> commit 088018e34d ("restore: default to HEAD when combining --staged and
> --worktree"), but it looks more like a fix than a behaviour change.
All good reasons.

The only reason why I ask is because I was vaguely aware of some discussions (don’t know how long ago) where someone was skeptical about changing one of the two experimental commands, and then someone else in turn expressed some frustration about this concern since they are after all marked experimental. And the context was some UI/UX problems with the command.

But we’ll see.
-- 
Kristoffer Haugsbakk
Previous: Matthieu BaertsNext: Junio C Hamano
Message 4 of 9 in “Revert "Declare both git-switch and git-restore experimental"”
  1. Revert "Declare both git-switch and git-restore experimental"Matthieu Baerts (NGI0), Feb 20, 2024
  2. Kristoffer HaugsbakkFeb 20, 2024
  3. Matthieu BaertsFeb 20, 2024
  4. Kristoffer HaugsbakkFeb 20, 2024
  5. Junio C HamanoFeb 20, 2024
  6. Matthieu BaertsFeb 20, 2024
  7. MartinFeb 20, 2024
  8. MartinFeb 20, 2024
  9. Kristoffer HaugsbakkFeb 20, 2024

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.