]> git.ipfire.org Git - thirdparty/git.git/commit
fsmonitor-settings: remote repos on macOS are incompatible
authorJeff Hostetler <jeffhost@microsoft.com>
Thu, 26 May 2022 21:47:02 +0000 (21:47 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 26 May 2022 22:59:26 +0000 (15:59 -0700)
commit1e7be10de0d493f471bf102a7eed32da8247c825
tree7fd066b9c61fc633c46b15812f12b77a3422efef
parenta85ad67bbdadb24ddb9b58a4010e20105c4c25e9
fsmonitor-settings: remote repos on macOS are incompatible

Teach Git to detect remote working directories on macOS and mark them as
incompatible with FSMonitor.

With this, `git fsmonitor--daemon run` will error out with a message
like it does for bare repos.

Client commands, like `git status`, will not attempt 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