fsmonitor: update documentation for hook version and watchman hooks
authorKevin Willford <Kevin.Willford@microsoft.com>
Thu, 23 Jan 2020 15:26:47 +0000 (15:26 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 23 Jan 2020 23:10:23 +0000 (15:10 -0800)
commitdfaed028620c2dca08d24583c7fc8b0aef9b6d0f
tree72d6ef707c44a6bc1b25e102e7986d380c057e6c
parente4e1e8342aa03c4e4585908736a103130cc8906d
fsmonitor: update documentation for hook version and watchman hooks

A new config value for core.fsmonitorHookVersion was added to be able
to force the version of the fsmonitor hook.  Possible values are 1 or 2.
When this is not set the code will use a value of -1 and attempt to use
version 2 of the hook first and if that fails will attempt version 1.

Signed-off-by: Kevin Willford <Kevin.Willford@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config/core.txt
Documentation/githooks.txt