]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'ps/odb-in-memory'
authorJunio C Hamano <gitster@pobox.com>
Wed, 27 May 2026 05:15:46 +0000 (14:15 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 May 2026 05:15:46 +0000 (14:15 +0900)
commit0839e5695702d2fc14002c37b5f2f1c6c4c6be43
treeed8a4f57c0bd64c5ea92923fd42f0bc615eb2c6d
parent2f952b81ed2c44ebce3496d659a93d82a1a2f662
parentd2902a45498793f8dc69abc6448f517b69437eec
Merge branch 'ps/odb-in-memory'

Add a new odb "in-memory" source that is meant to only hold
tentative objects (like the virtual blob object that represents the
working tree file used by "git blame").

* ps/odb-in-memory:
  t/unit-tests: add tests for the in-memory object source
  odb: generic in-memory source
  odb/source-inmemory: stub out remaining functions
  odb/source-inmemory: implement `freshen_object()` callback
  odb/source-inmemory: implement `count_objects()` callback
  odb/source-inmemory: implement `find_abbrev_len()` callback
  odb/source-inmemory: implement `for_each_object()` callback
  odb/source-inmemory: convert to use oidtree
  oidtree: add ability to store data
  cbtree: allow using arbitrary wrapper structures for nodes
  odb/source-inmemory: implement `write_object_stream()` callback
  odb/source-inmemory: implement `write_object()` callback
  odb/source-inmemory: implement `read_object_stream()` callback
  odb/source-inmemory: implement `read_object_info()` callback
  odb: fix unnecessary call to `find_cached_object()`
  odb/source-inmemory: implement `free()` callback
  odb: introduce "in-memory" source
Makefile
meson.build
object-file.c
t/meson.build