]> git.99rst.org Git - git.git/commit
Merge branch 'ps/refs-onbranch-fixes'
authorJunio C Hamano <redacted>
Mon, 6 Jul 2026 22:50:24 +0000 (15:50 -0700)
committerJunio C Hamano <redacted>
Mon, 6 Jul 2026 22:50:24 +0000 (15:50 -0700)
commit3442a0fb7927f3bb6710c1c75f03b4f783605d57
treef2a5512bf1bd51be4e6a89a2897b95e73a1301b5
parent7fe674d8b6186ffd7ae320ef8111225a090b7eee
parentd6522d01dfd147d18246d308dd6ea24b32d095d2
Merge branch 'ps/refs-onbranch-fixes'

Reference backend configuration has been updated to load lazily to
avoid recursive calls during repository initialization when 'onbranch'
configuration conditions are evaluated. This has also fixed a memory
leak and allowed the unused `chdir_notify_reparent()` machinery to be
dropped.

* ps/refs-onbranch-fixes:
  refs: protect against chicken-and-egg recursion
  refs/reftable: lazy-load configuration to fix chicken-and-egg
  reftable: split up write options
  refs/files: lazy-load configuration to fix chicken-and-egg
  refs: move parsing of "core.logAllRefUpdates" back into ref stores
  repository: free main reference database
  chdir-notify: drop unused `chdir_notify_reparent()`
  refs: unregister reference stores from "chdir_notify"
  setup: don't apply "GIT_REFERENCE_BACKEND" without a repository
  setup: stop applying repository format twice
  setup: inline `check_and_apply_repository_format()`
refs/files-backend.c
refs/reftable-backend.c
repository.c
setup.c
t/t1400-update-ref.sh
git clone https://git.99rst.org/PROJECT