Re: [PATCH v5 19/30] help: include fsmonitor--daemon feature flag in version info
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 24, 2022, 15:39 UTC
- Message-ID
- <nycvar.QRO.7.76.6.2202241638460.11118@tvgsbejvaqbjf.bet>
- In-Reply-To
- <3517c4a3c1322f07252f63204d60ace9cbb6b1b0.1644612979.git.gitgitgadget@gmail.com>
Hi Jeff,
On Fri, 11 Feb 2022, Jeff Hostetler via GitGitGadget wrote:
Show 16 quoted lines
> From: Jeff Hostetler <jeffhost@microsoft.com> > > 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 this is > rather obscure. > > The main advantage is that the feature message will automatically > appear in bug reports and other support requests.
It was also used by Scalar before we started the journey to integrate it into core Git ;-)
Maybe include that, for history buffs like me?
Ciao, Dscho