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

Re: [PATCH] add --interactive: allow `update` to stage deleted files

From
Taylor Blau <me@ttaylorr.com>
Date
Jun 28, 2022, 23:08 UTC
Message-ID
<YruJ06odaXmTOyjM@nand.local>
In-Reply-To
<xmqqr138h0wn.fsf@gitster.g>
On Tue, Jun 28, 2022 at 03:35:20PM -0700, Junio C Hamano wrote:
> The fix looks quite straight-forward.  It is somewhat disappointing
> that it was caught after this loooong time, but as they say, better
> late than never.

I had the same thought, but I think that it points to something I've suspected privately for a while which is that we don't actually get many users to opt-in to features early when they are hidden behind a configuration.

I had hoped that things like feature.experimental would cause more users to try features that weren't quite ready for prime-time more often, and that we'd get more and better feedback as a result.

But I think that this proves that is generally not so. I think we should probably err on the side of enabling new features by default so long as there is sufficiently low risk, rather than hide them behind config. Or at least, not hide them behind a config variable for so long (though I am guilty of this myself with the pack.writeReverseIndex, which I have been meaning to flip the default on for a little while now).

In either case...
> Thanks for a quick report and a fix.
Yes, indeed. This fix looks good to me.

Thanks, Taylor

Previous: Junio C HamanoNext: Ævar Arnfjörð Bjarmason
Message 3 of 4 in “add --interactive: allow `update` to stage deleted files”
  1. add --interactive: allow `update` to stage deleted filesJohannes Schindelin via GitGitGadget, Jun 28, 2022
  2. Junio C HamanoJun 28, 2022
  3. Taylor BlauJun 28, 2022
  4. Ævar Arnfjörð BjarmasonJun 29, 2022

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.