]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'ps/refs-wo-the-repository' into next
authorJunio C Hamano <gitster@pobox.com>
Sun, 19 Jul 2026 17:43:50 +0000 (10:43 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 19 Jul 2026 17:43:51 +0000 (10:43 -0700)
commit12685f410c9799a8e493f102f9474da8dfd647d7
tree595a19475da904d673c849fae0c7dc2389adabbc
parentb12d5d76f5db321d45ce5457c54e5491da13d647
parentb1296cb1aafd29c69e3b2a526b19c091f7fe5cf9
Merge branch 'ps/refs-wo-the-repository' into next

The ref subsystem and the worktree API have been refactored to pass a
repository pointer down the call chain, allowing them to drop
references to the global 'the_repository' variable.  As part of this,
the handling of the 'core.packedRefsTimeout' configuration has been
moved into the per-repository ref store structure.

* ps/refs-wo-the-repository:
  refs: remove remaining uses of `the_repository`
  worktree: pass repository to public functions
  worktree: pass repository to file-local functions
  worktree: refactor code to use available repositories
  refs/files: drop `USE_THE_REPOSITORY_VARIABLE`
  refs/packed: de-globalize handling of "core.packedRefsTimeout"
builtin/branch.c
builtin/receive-pack.c
builtin/worktree.c
reachable.c
refs/files-backend.c
revision.c
setup.c
submodule.c