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>
This commit is contained in:
committed by
Junio C Hamano
parent
a85ad67bbd
commit
1e7be10de0
@@ -17,6 +17,8 @@ enum fsmonitor_reason {
|
||||
FSMONITOR_REASON_UNTESTED = 0,
|
||||
FSMONITOR_REASON_OK, /* no incompatibility or when disabled */
|
||||
FSMONITOR_REASON_BARE,
|
||||
FSMONITOR_REASON_ERROR, /* FS error probing for compatibility */
|
||||
FSMONITOR_REASON_REMOTE,
|
||||
FSMONITOR_REASON_VFS4GIT, /* VFS for Git virtualization */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user