Skip to content

installer: reflect the fact that FSMonitor is no longer experimental#570

Merged
dscho merged 2 commits intogit-for-windows:mainfrom
dscho:fsmonitor-is-no-longer-experimental
Jul 18, 2024
Merged

installer: reflect the fact that FSMonitor is no longer experimental#570
dscho merged 2 commits intogit-for-windows:mainfrom
dscho:fsmonitor-is-no-longer-experimental

Conversation

@dscho
Copy link
Copy Markdown
Member

@dscho dscho commented Jul 17, 2024

It is also recommended only for larger repositories/worktrees. So let's not show the option at all anymore unless it had been enabled in the previous installation and the user is upgrading/reinstalling. And even then, disable it.

This addresses git-for-windows/git#4570, at long last.

This is how the Experimental Options page looks now if the user had the FSMonitor feature enabled previously:

image

And this is how it looks like in fresh installs or when upgrading from an installation where FSMonitor was disabled:

image

dscho added 2 commits July 17, 2024 22:40
The FSMonitor feature is no longer experimental, and hasn't been so for
quite a while. It also does not make sense to enable it on all
repositories, as the performance of using FSMonitor with small
repositories is potentially worse than without using the FSMonitor.

So let's disable the option, telling the user why.

This addresses git-for-windows/git#4570, at
long last.

Signed-off-by: Johannes Schindelin <[email protected]>
Seeing a disabled option that the user never enabled may be quite
confusing. So maybe just disabling it may be desirable only in scenarios
where users had enabled it?

So let's in fact not even show the FSMonitor option unless the user is
upgrading and had the option checked in the previous run.

Signed-off-by: Johannes Schindelin <[email protected]>
@dscho dscho self-assigned this Jul 17, 2024
@dscho dscho linked an issue Jul 17, 2024 that may be closed by this pull request
@dscho dscho merged commit 4cd63d8 into git-for-windows:main Jul 18, 2024
@dscho dscho deleted the fsmonitor-is-no-longer-experimental branch July 18, 2024 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GfW Installer still labels FSMonitor as experimental

2 participants