repository: drop `initialize_the_repository()`
commit0c473557908ec626e9e8abf66d2f2308624cdd14
authorPatrick Steinhardt <ps@pks.im>
Thu, 18 Apr 2024 12:14:33 +0000 (18 14:14 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Apr 2024 19:30:43 +0000 (18 12:30 -0700)
tree7ef432ed0cb0253d9fbbbc3f084e4a3ea596bbff
parent19fa8cd48c106ded717eeaf145b45e995318f3fe
repository: drop `initialize_the_repository()`

Now that we have dropped `the_index`, `initialize_the_repository()`
doesn't really do a lot anymore except for setting up the pointer for
`the_repository` and then calling `initialize_repository()`. The former
can be replaced by statically initializing the pointer though, which
basically makes this function moot.

Convert callers to instead call `initialize_repository(the_repository)`
and drop `initialize_thee_repository()`.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
common-main.c
oss-fuzz/fuzz-commit-graph.c
repository.c
repository.h
t/helper/test-read-cache.c