]> git.ipfire.org Git - thirdparty/git.git/commit
t/unit-tests: add tests for the in-memory object source
authorPatrick Steinhardt <ps@pks.im>
Fri, 10 Apr 2026 12:12:47 +0000 (14:12 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 14 May 2026 19:50:45 +0000 (04:50 +0900)
commitd2902a45498793f8dc69abc6448f517b69437eec
treeeb2c0666bebafd96e48d707f99b90d172866b6ea
parentfdf74cb2cab6a4a95fd6e7e589ac6a4508bf358f
t/unit-tests: add tests for the in-memory object source

While the in-memory object source is a full-fledged source, our code
base only exercises parts of its functionality because we only use it in
git-blame(1). Implement unit tests to verify that the yet-unused
functionality of the backend works as expected.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
t/meson.build
t/unit-tests/u-odb-inmemory.c [new file with mode: 0644]