]> git.99rst.org Git - git.git/commit
Merge branch 'ps/setup-split-discovery-and-setup'
authorJunio C Hamano <redacted>
Sun, 19 Jul 2026 17:42:15 +0000 (10:42 -0700)
committerJunio C Hamano <redacted>
Sun, 19 Jul 2026 17:42:15 +0000 (10:42 -0700)
commit2688b2869916108a81b48f50c56c1c552fd24cf6
treec404fc11b5832c5b54497d8beea5fb48dd8f2d29
parent65f37b632afc185f444e6e1b484c40f666b6934c
parent4df38c632f6808818018711b0c593aafe4c463c7
Merge branch 'ps/setup-split-discovery-and-setup'

The repository discovery and repository configuration phases, which
were previously intertwined in 'setup.c', have been split.  Repository
discovery has been updated to populate a 'struct repo_discovery'
without modifying the repository state, which is then taken by
repository configuration to initialize the repository, paving the way
for clean unification of repository configuration.

* ps/setup-split-discovery-and-setup:
  setup: mark `set_git_work_tree()` as file-local
  setup: pass worktree to `init_db()`
  setup: drop redundant configuration of `startup_info->have_repository`
  setup: make repository discovery self-contained
  setup: propagate prefix via repository discovery
  setup: drop static `cwd` variable
  setup: move prefix into repository
  setup: embed repository format in discovery
  setup: introduce explicit repository discovery
  setup: split up concerns of `setup_git_env_internal()`
  setup: unify setup of shallow file
  setup: mark bogus worktree in `apply_repository_format()`
  setup: rename `check_repository_format_gently()`
object-name.c
setup.c
setup.h
git clone https://git.99rst.org/PROJECT