t0612: add tests to exercise Git/JGit reftable compatibility
commit70b81fbf3c641435c5583e53ff78caa0aaef80ca
authorPatrick Steinhardt <ps@pks.im>
Fri, 12 Apr 2024 04:44:58 +0000 (12 06:44 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Apr 2024 15:47:51 +0000 (12 08:47 -0700)
tree7db5115a64e76302b5292f66787dc33ed5e52f5d
parentdb1d63bf57b49d71b7327f36740430525d7049b0
t0612: add tests to exercise Git/JGit reftable compatibility

While the reftable format is a recent introduction in Git, JGit already
knows to read and write reftables since 2017. Given the complexity of
the format there is a very real risk of incompatibilities between those
two implementations, which is something that we really want to avoid.

Add some basic tests that verify that reftables written by Git and JGit
can be read by the respective other implementation. For now this test
suite is rather small, only covering basic functionality. But it serves
as a good starting point and can be extended over time.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0612-reftable-jgit-compatibility.sh [new file with mode: 0755]