Merge commit

9ef0ca05bc322810310c2bd0c183ba53bb249b8e

Merge branch 'kn/reftable-optimize-reloading'

The reftable code has been optimized to avoid an unnecessary
stat/reload of the stack when an addition already holds the
list_file lock, reducing the number of newfstatat syscalls from
linear to constant when writing refs.

* kn/reftable-optimize-reloading:
  reftable/stack: avoid reloading the stack when already locked
  reftable/stack: move list lock to `struct reftable_stack`
  reftable/stack: rename reftable_stack_new_addition()
  reftable/stack: remove `REFTABLE_STACK_NEW_ADDITION_RELOAD`

Junio C Hamano <gitster@pobox.com> ยท 2026-09-07 16:32 UTC

Browse files

Combined diff: only what this merge did beyond taking one side. Added lines are colored by the parent they came from; bold lines came from none of them; removed lines are red.

No changes beyond merging its parents: every hunk came cleanly from one side.