git/compat/fsmonitor
Jeff Hostetler d6d58ff8ab fsmonitor: on macOS also emit NFC spelling for NFD pathname
Emit NFC or NFC and NFD spellings of pathnames on macOS.

MacOS is Unicode composition insensitive, so NFC and NFD spellings are
treated as aliases and collide.  While the spelling of pathnames in
filesystem events depends upon the underlying filesystem, such as
APFS, HFS+ or FAT32, the OS enforces such collisions regardless of
filesystem.

Teach the daemon to always report the NFC spelling and to report
the NFD spelling when stored in that format on the disk.

This is slightly more general than "core.precomposeUnicode".

Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2022-05-26 15:59:27 -07:00
..
fsm-darwin-gcc.h compat/fsmonitor/fsm-listen-darwin: add MacOS header files for FSEvent 2022-03-25 16:04:16 -07:00
fsm-health-darwin.c fsmonitor--daemon: stub in health thread 2022-05-26 15:59:27 -07:00
fsm-health-win32.c fsm-health-win32: force shutdown daemon if worktree root moves 2022-05-26 15:59:27 -07:00
fsm-health.h fsmonitor--daemon: stub in health thread 2022-05-26 15:59:27 -07:00
fsm-listen-darwin.c fsmonitor: on macOS also emit NFC spelling for NFD pathname 2022-05-26 15:59:27 -07:00
fsm-listen-win32.c fsmonitor--daemon: rename listener thread related variables 2022-05-26 15:59:26 -07:00
fsm-listen.h fsmonitor--daemon: rename listener thread related variables 2022-05-26 15:59:26 -07:00
fsm-settings-darwin.c fsmonitor-settings: NTFS and FAT32 on MacOS are incompatible 2022-05-26 15:59:26 -07:00
fsm-settings-win32.c fsmonitor-settings: remote repos on Windows are incompatible 2022-05-26 15:59:26 -07:00