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

macOS should sometimes be case sensitive in ignore patterns #6232

Open
rptb1 opened this issue Dec 18, 2019 · 3 comments
Open

macOS should sometimes be case sensitive in ignore patterns #6232

rptb1 opened this issue Dec 18, 2019 · 3 comments
Labels
enhancement New features or improvements of some kind, as opposed to a problem (bug)

Comments

@rptb1
Copy link

rptb1 commented Dec 18, 2019

https://docs.syncthing.net/users/ignoring.html says:

On Mac OS and Windows, patterns are always case-insensitive.

On macOS at least, case sensitivity depends on the file system, and is not global. Either:

  1. Syncthing knows this and is case sensitive on case sensitive filesystems and the document is wrong, or

  2. Syncthing is case insensitive on case sensitive filesystems and does not do the right thing.

I do not know about Windows but perhaps there's a similar problem.

@Script-Mak3r
Copy link

Script-Mak3r commented Dec 18, 2019

I do not know about Windows but perhaps there's a similar problem.

FYI, Windows is generally case insensitive. As of Windows 10 it is possible to enable case sensitivity, but I think it's fairly safe to assume that most users won't do this.
This is, in fact, the the cause of problems some people encounter when files change case, thus #2739.

@AudriusButkevicius
Copy link
Member

I am closing this issue in favor of #1787

@calmh
Copy link
Member

calmh commented Dec 19, 2019

I guess that's related but not exactly the same thing. We assume case insensitive always on mac/windows but that's not precisely correct, as noted. The default is fine but we should probably have at least an (?s) or something flag to force case sensitivity in ignore patterns.

@calmh calmh reopened this Dec 19, 2019
@calmh calmh added the enhancement New features or improvements of some kind, as opposed to a problem (bug) label Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features or improvements of some kind, as opposed to a problem (bug)
Projects
None yet
Development

No branches or pull requests

4 participants