aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/config
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-10-17 14:56:31 -0700
committerJunio C Hamano <gitster@pobox.com>2022-10-17 14:56:31 -0700
commit7b8cfe34d9b36a08214ea7e3ae82e9563188de5e (patch)
tree3e93bd39e629cadfecec9d3aa0e8955e40159826 /Documentation/config
parentd420dda0576340909c3faff364cfbd1485f70376 (diff)
parentc4f94907902f18d80a78ee19983d0d02932154d7 (diff)
downloadgit-7b8cfe34d9b36a08214ea7e3ae82e9563188de5e.tar.gz
Merge branch 'ed/fsmonitor-on-networked-macos'
By default, use of fsmonitor on a repository on networked filesystem is disabled. Add knobs to make it workable on macOS. * ed/fsmonitor-on-networked-macos: fsmonitor: fix leak of warning message fsmonitor: add documentation for allowRemote and socketDir options fsmonitor: check for compatability before communicating with fsmonitor fsmonitor: deal with synthetic firmlinks on macOS fsmonitor: avoid socket location check if using hook fsmonitor: relocate socket file if .git directory is remote fsmonitor: refactor filesystem checks to common interface
Diffstat (limited to 'Documentation/config')
-rw-r--r--Documentation/config/fsmonitor--daemon.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/config/fsmonitor--daemon.txt b/Documentation/config/fsmonitor--daemon.txt
new file mode 100644
index 0000000000..c225c6c9e7
--- /dev/null
+++ b/Documentation/config/fsmonitor--daemon.txt
@@ -0,0 +1,11 @@
+fsmonitor.allowRemote::
+ By default, the fsmonitor daemon refuses to work against network-mounted
+ repositories. Setting `fsmonitor.allowRemote` to `true` overrides this
+ behavior. Only respected when `core.fsmonitor` is set to `true`.
+
+fsmonitor.socketDir::
+ This Mac OS-specific option, if set, specifies the directory in
+ which to create the Unix domain socket used for communication
+ between the fsmonitor daemon and various Git commands. The directory must
+ reside on a native Mac OS filesystem. Only respected when `core.fsmonitor`
+ is set to `true`.