diff options
author | Junio C Hamano <gitster@pobox.com> | 2022-04-04 17:56:24 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-04-04 17:56:24 (GMT) |
commit | 439c1e6d5d8ad4d1134fc6ff5e514d28ff9ecac4 (patch) | |
tree | b1a7ebce54d1160b78ba93afcca3ccda26d53ce9 /help.c | |
parent | ba2452b247dfd455bccbcb04acdcfd142cb5397e (diff) | |
parent | a3dfe97f418762ccf1d0601c5cce40c77046d4fc (diff) | |
download | git-439c1e6d5d8ad4d1134fc6ff5e514d28ff9ecac4.zip git-439c1e6d5d8ad4d1134fc6ff5e514d28ff9ecac4.tar.gz git-439c1e6d5d8ad4d1134fc6ff5e514d28ff9ecac4.tar.bz2 |
Merge branch 'jh/builtin-fsmonitor-part2'
Built-in fsmonitor (part 2).
* jh/builtin-fsmonitor-part2: (30 commits)
t7527: test status with untracked-cache and fsmonitor--daemon
fsmonitor: force update index after large responses
fsmonitor--daemon: use a cookie file to sync with file system
fsmonitor--daemon: periodically truncate list of modified files
t/perf/p7519: add fsmonitor--daemon test cases
t/perf/p7519: speed up test on Windows
t/perf/p7519: fix coding style
t/helper/test-chmtime: skip directories on Windows
t/perf: avoid copying builtin fsmonitor files into test repo
t7527: create test for fsmonitor--daemon
t/helper/fsmonitor-client: create IPC client to talk to FSMonitor Daemon
help: include fsmonitor--daemon feature flag in version info
fsmonitor--daemon: implement handle_client callback
compat/fsmonitor/fsm-listen-darwin: implement FSEvent listener on MacOS
compat/fsmonitor/fsm-listen-darwin: add MacOS header files for FSEvent
compat/fsmonitor/fsm-listen-win32: implement FSMonitor backend on Windows
fsmonitor--daemon: create token-based changed path cache
fsmonitor--daemon: define token-ids
fsmonitor--daemon: add pathname classification
fsmonitor--daemon: implement 'start' command
...
Diffstat (limited to 'help.c')
-rw-r--r-- | help.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -12,6 +12,7 @@ #include "refs.h" #include "parse-options.h" #include "prompt.h" +#include "fsmonitor-ipc.h" struct category_description { uint32_t category; @@ -714,6 +715,9 @@ void get_version_info(struct strbuf *buf, int show_build_options) strbuf_addf(buf, "sizeof-size_t: %d\n", (int)sizeof(size_t)); strbuf_addf(buf, "shell-path: %s\n", SHELL_PATH); /* NEEDSWORK: also save and output GIT-BUILD_OPTIONS? */ + + if (fsmonitor_ipc__is_supported()) + strbuf_addstr(buf, "feature: fsmonitor--daemon\n"); } } |