]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'ps/odb-in-memory' into next
authorJunio C Hamano <gitster@pobox.com>
Thu, 21 May 2026 04:39:24 +0000 (13:39 +0900)
committerJunio C Hamano <gitster@pobox.com>
Thu, 21 May 2026 04:39:24 +0000 (13:39 +0900)
commitc8709aa17fe11caa2b9f7c70d38d3721074be7ac
tree6ea26343e5efcbfd9c9906297a8287a11da75e83
parent61108abe4ded530f60c027dfa9a66a0cd89e5272
parentd2902a45498793f8dc69abc6448f517b69437eec
Merge branch 'ps/odb-in-memory' into next

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