-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
mount on case insensitive filesystems #288
Comments
I... I dont... why? A unix based OS with case insensitive paths? I hurt... |
Yeah, there is also the way unicode is handled in hfs. See: http://radsoft.net/rants/20080405,00.shtml |
@chriscool if you could figure out how git handles it, that would be super cool |
This commit is also interesting: |
It looks like go has good support for unicode normalization: |
Thanks @chriscool all of these are very interesting finds! |
Thanks @jbenet. By the way, in https://github.com/git/git/blob/master/builtin/init-db.c around line 288 there is:
and in https://github.com/git/git/blob/master/git-compat-util.h there is:
|
About the core.ignorecase config variable it is read in config.c into the ignore_case global variable and then in dir.c there is:
|
hfs is case insensitive, but case preserving. You can still store files with different case, you just cannot have two files which have name different only in case. |
CIDs fix this as we can use any base we want. Also, we're switching to base32 by default so this will become even less of an issue. |
gomod: update go-libp2p
Some filesystems (like osx's default hfs) are case insensitive... this breaks our b58 string keys when mounting with fuse. Possible solutions
/ipfs/b32/...
The text was updated successfully, but these errors were encountered: