]> git.99rst.org Git - git.git/commit
setup: inline `check_and_apply_repository_format()`
authorPatrick Steinhardt <redacted>
Thu, 25 Jun 2026 09:19:59 +0000 (11:19 +0200)
committerJunio C Hamano <redacted>
Fri, 26 Jun 2026 15:27:19 +0000 (08:27 -0700)
commit35b6b8256cb793a7f5d4903635038b5002f338f6
tree9dbbc22f3eef8bc824303c074f9335d35760287b
parentf19edf4d012f30e4d1d5375b019a778bace88bc5
setup: inline `check_and_apply_repository_format()`

We have two callsites of `check_and_apply_repository_format()`. In a
subsequent commit we'll want to adapt one of those callsites to change
the order in which we read and apply the repository format, at which
point the helper function will not really be a good fit for us anymore.

Inline the function to both of the callsites.

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