1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-24 13:06:10 +02:00

Merge branch 'jh/index-v2-doc-on-fsmn'

Doc update.

* jh/index-v2-doc-on-fsmn:
  index-format.txt: document v2 format of file system monitor extension
This commit is contained in:
Junio C Hamano 2020-12-17 15:06:42 -08:00
commit 7bceb83bfe

View File

@ -306,12 +306,18 @@ The remaining data of each directory block is grouped by type:
The extension starts with
- 32-bit version number: the current supported version is 1.
- 32-bit version number: the current supported versions are 1 and 2.
- 64-bit time: the extension data reflects all changes through the given
- (Version 1)
64-bit time: the extension data reflects all changes through the given
time which is stored as the nanoseconds elapsed since midnight,
January 1, 1970.
- (Version 2)
A null terminated string: an opaque token defined by the file system
monitor application. The extension data reflects all changes relative
to that token.
- 32-bit bitmap size: the size of the CE_FSMONITOR_VALID bitmap.
- An ewah bitmap, the n-th bit indicates whether the n-th index entry