]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ps/setup-centralize-odb-creation' into seen
authorJunio C Hamano <gitster@pobox.com>
Fri, 29 May 2026 04:01:38 +0000 (13:01 +0900)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 May 2026 04:01:38 +0000 (13:01 +0900)
The setup logic to discover and configure repositories has been
refactored, and the initialization of the object database has been
centralized.

* ps/setup-centralize-odb-creation:
  setup: construct object database in `apply_repository_format()`
  repository: stop reading loose object map twice on repo init
  setup: stop initializing object database without repository
  setup: stop creating the object database in `setup_git_env()`
  repository: stop initializing the object database in `repo_set_gitdir()`
  setup: deduplicate logic to apply repository format
  setup: drop `setup_git_env()`
  t0001: plug test gaps for git-init(1) with GIT_OBJECT_DIRECTORY

1  2 
environment.h
refs.c
setup.c
setup.h

diff --cc environment.h
Simple merge
diff --cc refs.c
Simple merge
diff --cc setup.c
Simple merge
diff --cc setup.h
Simple merge