]> git.feebdaed.xyz Git - 0xmirror/git.git/commit
odb: drop forward declaration of `read_info_alternates()`
authorPatrick Steinhardt <ps@pks.im>
Thu, 11 Dec 2025 09:30:15 +0000 (10:30 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 11 Dec 2025 09:39:37 +0000 (18:39 +0900)
commit3f42555322f86f17a2dac4f585edab1d84f3df57
treed324e525a21da926a16d2becb9d2a5f6cf84a69e
parent430e0e0f2e75673206321f6f4942c0bc7856c8b7
odb: drop forward declaration of `read_info_alternates()`

Now that we have removed the mutual recursion in the preceding commit
it is not necessary anymore to have a forward declaration of the
`read_info_alternates()` function. Move the function and its
dependencies further up so that we can remove it.

Note that this commit also removes the function documentation of
`read_info_alternates()`. It's unclear what it's documenting, but it for
sure isn't documenting the modern behaviour of the function anymore.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
odb.c