]> git.ipfire.org Git - thirdparty/git.git/commit - templates/hooks--fsmonitor-watchman.sample
fsmonitor: add fsmonitor hook scripts for version 2
authorKevin Willford <Kevin.Willford@microsoft.com>
Thu, 23 Jan 2020 15:26:46 +0000 (15:26 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 23 Jan 2020 23:10:23 +0000 (15:10 -0800)
commite4e1e8342aa03c4e4585908736a103130cc8906d
treee91e9fa5a4b8973b7a73db4f1a7adbc1d5673806
parent8da2c57629a16e148b0f94282ac787c1503e4779
fsmonitor: add fsmonitor hook scripts for version 2

Version 2 of the fsmonitor hooks is passed the version and an update
token and must pass back a last update token to use for subsequent calls
to the hook.

Signed-off-by: Kevin Willford <Kevin.Willford@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7519/fsmonitor-all-v2 [new file with mode: 0755]
t/t7519/fsmonitor-watchman-v2 [new file with mode: 0755]
templates/hooks--fsmonitor-watchman.sample