Files
git/compat
Johannes Schindelin 97d21a94e1 fixup! mingw: add a cache below mingw's lstat and dirent implementations
Back when the FSCache was invented, there was no way to ask Windows to
store filenames case-sensitively. Also, `fspathcmp()` had not been
invented yet, so we simply used `strnicmp()` to compare the filenames in
the FSCache.

In the meantime, much has changed.

Let's use `fspathncmp()` instead, and benefit from case-sensitive file
names as configured.

Note: to make use of this, users _must_ call `fsutil.exe file
setCaseSensitiveInfo .` in an empty directory _before_ calling `git
init` to allow Git to detect that filenames are stored case-sensitively.

This fixes https://github.com/git-for-windows/git/issues/3686

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2022-02-08 01:08:34 +01:00
..
2021-10-29 15:00:58 -07:00