]> git.ipfire.org Git - thirdparty/git.git/commit
repo_read_object_file(): stop wrapping read_object_file_extended()
authorJeff King <peff@peff.net>
Sat, 7 Jan 2023 13:50:33 +0000 (08:50 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 8 Jan 2023 01:52:55 +0000 (10:52 +0900)
commit0ba05cf2e0d077bedbc1ee2521b3e5b5dc883250
tree40148fd07b899d1696b825224e42005741ebb532
parent7be13f5f743978180ba377e12a312b773ed9af2b
repo_read_object_file(): stop wrapping read_object_file_extended()

The only caller of read_object_file_extended() is the thin wrapper of
repo_read_object_file(). Instead of wrapping, let's just rename the
inner function and let people call it directly. This cleans up the
namespace and reduces confusion.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
object-file.c
object-store.h