Improve "ignorecase" preference #1062
Labels
discuss
way forward is unclear; needs discussion of approach to take and why
effort-high
issue is likely to require >20h of effort, perhaps much more
enhancement
issue is a request for a feature, and not a defect
macOS
specific to macOS
windows
not applicable to systems other than Microsoft Windows
wontfix
maintainers choose not to work on this, but PR would still be considered
Unison has a preference "ignorecase" which has three values:
The problem is that case sensitive vs case preserving vs case insensitive is not a property of an operating system, but of filesystems. One can have a proper filesystem on macOS, and my impression is that this is possible on modern MS Windows too (although I've avoided Windows enough not to know). One could mount FAT on Unix, too. Even harder to deal with is a replica which contains a mount to a different kind of filesystem, so that e.g. part of the replica is case sensitive and part is case preserving.
I don't immediately see any way to improve this without massive complexity, testing each directory and storing metadata. Brainstorming on unison-hackers@ please; this ticket is here to document that the problem is understood.
See also #298, which essentially complains that the error message "on a case-sensitive system" should be "on a file system being treated as case-sensitive".
The text was updated successfully, but these errors were encountered: