]> git.ipfire.org Git - thirdparty/git.git/commit
reftable: document reading and writing indices
authorPatrick Steinhardt <ps@pks.im>
Thu, 1 Feb 2024 07:52:12 +0000 (08:52 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 1 Feb 2024 19:11:33 +0000 (11:11 -0800)
commit4950acae7d0db40c327003eff2621aaa2172322c
tree01ade781c71cd412318e81344e3aa2d99adad86d
parente7485601ca4da6a09c6488add181609cffec5799
reftable: document reading and writing indices

The way the index gets written and read is not trivial at all and
requires the reader to piece together a bunch of parts to figure out how
it works. Add some documentation to hopefully make this easier to
understand for the next reader.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
reftable/reader.c
reftable/writer.c