diff options
author | Kevin Willford <Kevin.Willford@microsoft.com> | 2020-01-07 19:04:28 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-01-13 22:58:43 (GMT) |
commit | 56c6910028a0468761b0cd9ee5c0946ce637b586 (patch) | |
tree | 3bc5ae7f7340a5fc87e7492c54282ccd2efe0bb8 /apply.c | |
parent | d0654dc308b0ba76dd8ed7bbb33c8d8f7aacd783 (diff) | |
download | git-56c6910028a0468761b0cd9ee5c0946ce637b586.zip git-56c6910028a0468761b0cd9ee5c0946ce637b586.tar.gz git-56c6910028a0468761b0cd9ee5c0946ce637b586.tar.bz2 |
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 'apply.c')
0 files changed, 0 insertions, 0 deletions