-
Notifications
You must be signed in to change notification settings - Fork 452
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
Building VFS for Git in 2024 #1804
Open
derrickstolee
wants to merge
8
commits into
microsoft:master
Choose a base branch
from
derrickstolee:building-in-2024
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
7ac109d
README: update Windows SDK version expected
derrickstolee adb77f7
README: VS 2017 no longer available, use 2019 instructions
derrickstolee 2eea62f
README: Build script was renamed
derrickstolee a62e935
README: test instructions
derrickstolee db36e37
Version.props: New version number
derrickstolee 1b300b0
GVFSVerb: strip commit id from version, if it exists
derrickstolee 76aa6ce
GVFSVerb: Use core.fsmonitor=false
derrickstolee d3ff2fa
Tests: disable/redirect tests that no longer work
derrickstolee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -311,7 +311,7 @@ public static bool TrySetRequiredGitConfigSettings(Enlistment enlistment) | |
{ "commitGraph.generationVersion", "1" }, | ||
|
||
// Disable the builtin FS Monitor in case it was enabled globally. | ||
{ "core.useBuiltinFSMonitor", "false" }, | ||
{ "core.fsmonitor", "false" }, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here. |
||
}; | ||
|
||
if (!TrySetConfig(enlistment, requiredSettings, isRequired: true)) | ||
|
@@ -926,7 +926,14 @@ private bool TryValidateGVFSVersion(GVFSEnlistment enlistment, ITracer tracer, S | |
|
||
using (ITracer activity = tracer.StartActivity("ValidateGVFSVersion", EventLevel.Informational)) | ||
{ | ||
Version currentVersion = new Version(ProcessHelper.GetCurrentProcessVersion()); | ||
string fullVersion = ProcessHelper.GetCurrentProcessVersion(); | ||
int plusPos = fullVersion.IndexOf("+"); | ||
if (plusPos >= 0) | ||
{ | ||
fullVersion = fullVersion.Substring(0, plusPos); | ||
} | ||
|
||
Version currentVersion = new Version(fullVersion); | ||
|
||
IEnumerable<ServerGVFSConfig.VersionRange> allowedGvfsClientVersions = | ||
config != null | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jeffhostetler: Perhaps the old line should stay here, and we just add the
core.fsmonitor
line, too. Keeping the old config won't hurt, and might help for users still on an older version of Git.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, leave both. It won't hurt anything. I haven't checked recently to see how many users are still using very old versions of Git, but let's assume we have some...