summaryrefslogtreecommitdiff
path: root/Documentation/pretty-options.txt
diff options
context:
space:
mode:
authorLibravatar Jeff Hostetler <jeffhost@microsoft.com>2022-03-25 18:03:02 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-25 16:04:16 -0700
commitdd77cf61a1a2fbf52c94d0cd986d555ad2ba8a4b (patch)
tree6a0f87506705f81f4824f55cf73da3617dbe914d /Documentation/pretty-options.txt
parentfsmonitor--daemon: implement handle_client callback (diff)
downloadtgif-dd77cf61a1a2fbf52c94d0cd986d555ad2ba8a4b.tar.xz
help: include fsmonitor--daemon feature flag in version info
Add the "feature: fsmonitor--daemon" message to the output of `git version --build-options`. The builtin FSMonitor is only available on certain platforms and even then only when certain Makefile flags are enabled, so print a message in the verbose version output when it is available. This can be used by test scripts for prereq testing. Granted, tests could just try `git fsmonitor--daemon status` and look for a 128 exit code or grep for a "not supported" message on stderr, but these methods are rather obscure. The main advantage is that the feature message will automatically appear in bug reports and other support requests. This concept was also used during the development of Scalar for similar reasons. Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/pretty-options.txt')
0 files changed, 0 insertions, 0 deletions