Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Jul 18, 2024

Conversation

dscho
Copy link
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

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 <johannes.schindelin@gmx.de>
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 <johannes.schindelin@gmx.de>
@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
6 checks passed
@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