]> git.ipfire.org Git - thirdparty/git.git/commit
setup: inline `check_and_apply_repository_format()`
authorPatrick Steinhardt <ps@pks.im>
Thu, 25 Jun 2026 09:19:59 +0000 (11:19 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 25 Jun 2026 20:19:57 +0000 (13:19 -0700)
commit7d5c73d277fd70477191b2909785d4ddf72fbdbe
tree9dbbc22f3eef8bc824303c074f9335d35760287b
parent9adfd2cb8f66e080cd4c2a2758bcd7b0b60c6827
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 <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
setup.c