On 4/26/22 6:43 PM, David Calkins wrote:
I installed Git v2.36.0 for Windows (64-bit) and when running commands I get the following output. hint: core.useBuiltinFSMonitor will be deprecated soon; use core.fsmonitor instead hint: Disable this message with "git config advice.useCoreFSMonitorConfig false" I opened the system Git config file and updated it to have the below. useBuiltinFSMonitor = false After this change I no longer get that output. However, the hint indicated that I should "use core.fsmonitor instead". Is there something else I should be doing besides just telling it not to useBuildtinFSMonitor? How do I tell it to "use core.fsmonitor instead"?
Yes, the wording of that message could use some work. Git for Windows 2.34 and 2.35 included an experimental version of the builtin FSMonitor feature that was centered around `core.useBuiltinFSMonitor`. We are in the process of upstreaming the FSMonitor feature into core Git. The first half of it is included in core Git 2.36 and centered around the `core.fsmonitor` config variable instead of the former config variable. Git for Windows 2.36 recognizes both config variables, but warns that the former is deprecated. Setting git config core.fsmonitor true will quiet the warning. We are phasing out the old config variable as soon as we can retire the "experimental" label from the feature in GFW, but felt that we could not just delete it and switch because Windows users sometimes have more than one version of Git installed. For example, VS ships with a hidden version that may be ahead or behind the version you have installed explicitly in Program Files. If you know that you only have one version of Git installed, you can unset the old config value. But if you have more than one, leave both set to true. Sorry for the confusion. Jeff