summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@google.com>2021-10-07 20:25:02 +0000
committerJunio C Hamano <gitster@pobox.com>2021-10-08 10:45:48 -0700
commite303bf22f9ac1a3bf0cb384ecd925570e014a3f3 (patch)
tree33c5d87321c1da7e6b8eaf175e4c702997a8a3f2 /Makefile
parent1214aa841bc825c97541a68f397227cb2bfd3f3c (diff)
downloadgit-e303bf22f9ac1a3bf0cb384ecd925570e014a3f3.tar.gz
reftable: (de)serialization for the polymorphic record type.
The reftable format is structured as a sequence of blocks, and each block contains a sequence of prefix-compressed key-value records. There are 4 types of records, and they have similarities in how they must be handled. This is achieved by introducing a polymorphic 'record' type that encapsulates ref, log, index and object records. Signed-off-by: Han-Wen Nienhuys <hanwen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 621ac53d09..02a83a6746 100644
--- a/Makefile
+++ b/Makefile
@@ -2453,7 +2453,9 @@ REFTABLE_OBJS += reftable/basics.o
REFTABLE_OBJS += reftable/error.o
REFTABLE_OBJS += reftable/blocksource.o
REFTABLE_OBJS += reftable/publicbasics.o
+REFTABLE_OBJS += reftable/record.o
+REFTABLE_TEST_OBJS += reftable/record_test.o
REFTABLE_TEST_OBJS += reftable/test_framework.o
REFTABLE_TEST_OBJS += reftable/basics_test.o