]> git.ipfire.org Git - thirdparty/git.git/commit
object-file: inline `for_each_loose_file_in_objdir_buf()`
authorPatrick Steinhardt <ps@pks.im>
Thu, 17 Jul 2025 04:56:37 +0000 (06:56 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 17 Jul 2025 05:16:16 +0000 (22:16 -0700)
commitf2c40e51b235b3814475d3988782ae5dfcae8752
tree80c0e21173392c0173955e9781106462d821a94b
parente7e952f5c27bbca3d98bbcea6d20cd5b63d7d8e5
object-file: inline `for_each_loose_file_in_objdir_buf()`

The function `for_each_loose_file_in_objdir_buf()` is declared in our
headers, but it is not used anywhere else than in the corresponding code
file itself. Drop the declaration and inline the function into its only
caller.

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