-
Notifications
You must be signed in to change notification settings - Fork 79
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
fix: e sync, compare paths with no case #589
base: main
Are you sure you want to change the base?
Conversation
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.
I don't think lower casing the path is right here as some filesystems are case sensitive, we probably just want to ensure path paths are fully normalized / resolved.
@MarshallOfSound , Is it fine to make such a patch only for the Windows platform, like that? |
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.
Updated this to use a generic approach to filesystem path sensitivity
@andrewsml This PR is now ready to go but we require PRs to this (and some other Electron repos) to come with signed commits. Please set that up, or we can extract this PR into a new one with signed commits from a different auther |
Closes #588
Path returned by
git rev-parse --show-toplevel
after normalizing contain C: drive in upper case, so further string comparison fails