]> git.99rst.org Git - git.git/commit
Merge branch 'jt/receive-pack-use-odb-transactions'
authorJunio C Hamano <redacted>
Wed, 22 Jul 2026 17:30:53 +0000 (10:30 -0700)
committerJunio C Hamano <redacted>
Wed, 22 Jul 2026 17:30:53 +0000 (10:30 -0700)
commit55f961a55546d80d277730cff477ecbbf446abb5
tree5b53e3519508911098b209e074209fcc8b6a17df
parentccf9746c673c5bb83000a41562b0df5339aef6ec
parentbdee7b30135f51f406d71c565cf29bb7db64f1cd
Merge branch 'jt/receive-pack-use-odb-transactions'

'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
12 files changed:
builtin/receive-pack.c
builtin/unpack-objects.c
builtin/update-index.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
git clone https://git.99rst.org/PROJECT