NAME
git-fsmonitor--daemon - A Built-in Filesystem MonitorSYNOPSIS
git fsmonitor--daemon start git fsmonitor--daemon run git fsmonitor--daemon stop git fsmonitor--daemon status
DESCRIPTION
A daemon to watch the working directory for file and directory changes using platform-specific filesystem notification facilities.OPTIONS
startStarts a daemon in the background.
run
Runs a daemon in the foreground.
stop
Stops the daemon running in the current
working directory, if present.
status
Exits with zero status if a daemon is watching
the current working directory.
REMARKS
This daemon is a long running process used to watch a single working directory and maintain a list of the recently changed files and directories. Performance of commands such as git status can be increased if they just ask for a summary of changes to the working directory and can avoid scanning the disk.CAVEATS
The fsmonitor daemon does not currently know about submodules and does not know to filter out filesystem events that happen within a submodule. If fsmonitor daemon is watching a super repo and a file is modified within the working directory of a submodule, it will report the change (as happening against the super repo). However, the client will properly ignore these extra events, so performance may be affected but it will not cause an incorrect result.CONFIGURATION
Everything below this line in this section is selectively included from the git-config(1) documentation. The content is the same as what’s found there: fsmonitor.allowRemoteBy 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.
GIT
Part of the git(1) suiteNOTES
- 1.
- simple IPC
file:///usr/share/doc/git/html/technical/api-simple-ipc.html
02/28/2023 | Git 2.39.2 |