summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorLibravatar Kevin Willford <Kevin.Willford@microsoft.com>2020-01-07 19:04:28 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-01-13 14:58:43 -0800
commit56c6910028a0468761b0cd9ee5c0946ce637b586 (patch)
tree3bc5ae7f7340a5fc87e7492c54282ccd2efe0bb8 /git-compat-util.h
parentGit 2.25 (diff)
downloadtgif-56c6910028a0468761b0cd9ee5c0946ce637b586.tar.xz
fsmonitor: change last update timestamp on the index_state to opaque token
Some file system monitors might not use or take a timestamp for processing and in the case of watchman could have race conditions with using a timestamp. Watchman uses something called a clockid that is used for race free queries to it. The clockid for watchman is simply a string. Change the fsmonitor_last_update from being a uint64_t to a char pointer so that any arbitrary data can be stored in it and passed back to the fsmonitor. Signed-off-by: Kevin Willford <Kevin.Willford@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-compat-util.h')
0 files changed, 0 insertions, 0 deletions