]> git.ipfire.org Git - thirdparty/git.git/commit
fsmonitor-settings: NTFS and FAT32 on MacOS are incompatible
authorJeff Hostetler <jeffhost@microsoft.com>
Thu, 26 May 2022 21:47:04 +0000 (21:47 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 26 May 2022 22:59:26 +0000 (15:59 -0700)
commitddc5dacfb368d4903f5dd475897e5e11772f9970
tree8a7437f1eff1f39875d0dcc022c722c1c6c97126
parentd989b266c1a7ef47f27cec75e90f3dfefbfa0200
fsmonitor-settings: NTFS and FAT32 on MacOS are incompatible

On MacOS mark repos on NTFS or FAT32 volumes as incompatible.

The builtin FSMonitor used Unix domain sockets on MacOS for IPC
with clients.  These sockets are kept in the .git directory.
Unix sockets are not supported by NTFS and FAT32, so the daemon
cannot start up.

Test for this during our compatibility checking so that client
commands do not keep trying to start the daemon.

Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/fsmonitor/fsm-settings-darwin.c
fsmonitor-settings.c
fsmonitor-settings.h