1GIT-FSMONITOR--DA(1) Git Manual GIT-FSMONITOR--DA(1)
2
3
4
6 git-fsmonitor--daemon - A Built-in File System Monitor
7
9 git fsmonitor--daemon start
10 git fsmonitor--daemon run
11 git fsmonitor--daemon stop
12 git fsmonitor--daemon status
13
15 A daemon to watch the working directory for file and directory changes
16 using platform-specific file system notification facilities.
17
18 This daemon communicates directly with commands like git status using
19 the simple IPC[1] interface instead of the slower githooks(5)
20 interface.
21
22 This daemon is built into Git so that no third-party tools are
23 required.
24
26 start
27 Starts a daemon in the background.
28
29 run
30 Runs a daemon in the foreground.
31
32 stop
33 Stops the daemon running in the current working directory, if
34 present.
35
36 status
37 Exits with zero status if a daemon is watching the current working
38 directory.
39
41 This daemon is a long running process used to watch a single working
42 directory and maintain a list of the recently changed files and
43 directories. Performance of commands such as git status can be
44 increased if they just ask for a summary of changes to the working
45 directory and can avoid scanning the disk.
46
47 When core.fsmonitor is set to true (see git-config(1)) commands, such
48 as git status, will ask the daemon for changes and automatically start
49 it (if necessary).
50
51 For more information see the "File System Monitor" section in git-
52 update-index(1).
53
55 The fsmonitor daemon does not currently know about submodules and does
56 not know to filter out file system events that happen within a
57 submodule. If fsmonitor daemon is watching a super repo and a file is
58 modified within the working directory of a submodule, it will report
59 the change (as happening against the super repo). However, the client
60 will properly ignore these extra events, so performance may be affected
61 but it will not cause an incorrect result.
62
64 Part of the git(1) suite
65
67 1. simple IPC
68 file:///usr/share/doc/git/technical/api-simple-ipc.html
69
70
71
72Git 2.36.1 2022-05-05 GIT-FSMONITOR--DA(1)