summaryrefslogtreecommitdiff
path: root/Documentation/technical/index-format.txt
diff options
context:
space:
mode:
authorJeff Hostetler <jeffhost@microsoft.com>2020-12-14 13:33:42 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-12-14 16:42:23 (GMT)
commit5885367e8f4d9fa2637642bb2eb1db8542ffd551 (patch)
tree22ab23f041b564cb6267314278b5874106cdaab0 /Documentation/technical/index-format.txt
parentc9a33e5e5d7e124feb86ccff08ea466faff53b26 (diff)
downloadgit-5885367e8f4d9fa2637642bb2eb1db8542ffd551.zip
git-5885367e8f4d9fa2637642bb2eb1db8542ffd551.tar.gz
git-5885367e8f4d9fa2637642bb2eb1db8542ffd551.tar.bz2
index-format.txt: document v2 format of file system monitor extension
Update the documentation of the file system monitor extension to describe version 2. The format was extended to support opaque tokens in: 56c6910028 fsmonitor: change last update timestamp on the index_state to opaque token Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical/index-format.txt')
-rw-r--r--Documentation/technical/index-format.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/Documentation/technical/index-format.txt b/Documentation/technical/index-format.txt
index faa25c5..3a433a2 100644
--- a/Documentation/technical/index-format.txt
+++ b/Documentation/technical/index-format.txt
@@ -304,12 +304,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