]> git.99rst.org Git - git.git/commit
setup: drop redundant configuration of `startup_info->have_repository`
authorPatrick Steinhardt <redacted>
Tue, 7 Jul 2026 07:21:30 +0000 (09:21 +0200)
committerJunio C Hamano <redacted>
Tue, 7 Jul 2026 17:49:41 +0000 (10:49 -0700)
commiteba53f5f5f392d3729f57144e707574bda5d37be
treeff47e3f178905678dc52e7956fae8e69407f9936
parent2513a4d6f37144841cfd00183fce3dd8f5ba967d
setup: drop redundant configuration of `startup_info->have_repository`

In `init_db()` we set `startup_info->have_repository` twice: once before
reading and applying the repository format and once after. This is
redundant though, as configuring the repository format does not rely on
this variable at all.

Remove the first such site. While at it, fix up formatting a bit.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
setup.c
git clone https://git.99rst.org/PROJECT