]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jt/receive-pack-use-odb-transactions' into HEAD
authorJunio C Hamano <gitster@pobox.com>
Sun, 19 Jul 2026 02:02:50 +0000 (19:02 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 19 Jul 2026 02:02:51 +0000 (19:02 -0700)
commit9306f4f379923bc22480d11921fffe4bf13013b4
tree4b5a87b6990d138acc2b93799bd09227c5cacc32
parent41365c2a9ba347870b80881c0d67454edd22fd49
parentbdee7b30135f51f406d71c565cf29bb7db64f1cd
Merge branch 'jt/receive-pack-use-odb-transactions' into HEAD

'git receive-pack' has been refactored to use ODB transaction
interfaces instead of directly managing 'tmp_objdir' for staging
incoming objects, bringing it closer to being ODB backend agnostic.

* jt/receive-pack-use-odb-transactions:
  builtin/receive-pack: stage incoming objects via ODB transactions
  builtin/receive-pack: drop redundant tmpdir env
  odb/transaction: introduce ODB transaction flags
  odb/transaction: add transaction env interface
  odb/transaction: propagate commit errors
  odb/transaction: propagate begin errors
  object-file: propagate files transaction errors
  object-file: drop check for inflight transactions
  object-file: embed transaction flush logic in commit function
  object-file: rename files transaction fsync function
  object-file: rename files transaction prepare function
builtin/receive-pack.c
builtin/unpack-objects.c
cache-tree.c
object-file.c
object-file.h
odb/source-files.c
odb/source-inmemory.c
odb/source-loose.c
odb/source-packed.c
odb/source.h
read-cache.c