Skip to content

Commit a51b1a4

Browse files
Abhra303gitster
authored andcommitted
bitmap-format.txt: add information for trailing checksum
Bitmap file has a trailing checksum at the end of the file. However there is no information in the bitmap-format documentation about it. Add a trailer section to include the trailing checksum info in the `Documentation/technical/bitmap-format.txt` file. Signed-off-by: Abhradeep Chakraborty <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f6611df commit a51b1a4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Documentation/technical/bitmap-format.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,10 @@ MIDXs, both the bit-cache and rev-cache extensions are required.
125125

126126
** The compressed bitmap itself, see Appendix A.
127127

128+
* TRAILER:
129+
130+
Index checksum of the above contents. It is a 20-byte SHA1 checksum.
131+
128132
== Appendix A: Serialization format for an EWAH bitmap
129133

130134
Ewah bitmaps are serialized in the same protocol as the JAVAEWAH

0 commit comments

Comments
 (0)