Trouble Issue and Problem with using Git on a Macintosh (MacOS)


According to the linked Stackoverflow post …

… the cause is the different implementation of how the filesystem stores the file name.
In Unicode, Ü can be represented in two ways, one is by Ü alone, the other is by U + “combining umlaut character”. A Unicode string can contain both forms, but as it’s confusing to have both, the file system normalizes the unicode string by setting every umlauted-U to Ü, or U + “combining umlaut character”.
Linux uses the former method, called Normal-Form-Composed (or NFC), and Mac OS X uses the latter method, called Normal-Form-Decomposed (NFD).
Apparently Git doesn’t care about this point and simply uses the byte sequence of the filename, which leads to the problem you’re having.
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.