summaryrefslogtreecommitdiffstats
path: root/t/t4013/diff.format-patch_--inline_--stdout_initial..main^
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2023-01-07 08:50:53 -0500
committerJunio C Hamano <gitster@pobox.com>2023-01-08 10:52:55 +0900
commitc2f32bef9cbed13f21b2308cc3c02158c338f70f (patch)
tree193a8744b9eb2e02fd879821ee8535327c3b1f76 /t/t4013/diff.format-patch_--inline_--stdout_initial..main^
parent0ba05cf2e0d077bedbc1ee2521b3e5b5dc883250 (diff)
downloadgit-c2f32bef9cbed13f21b2308cc3c02158c338f70f.tar.gz
git-c2f32bef9cbed13f21b2308cc3c02158c338f70f.zip
packfile: inline custom read_object()
When the pack code was split into its own file[1], it got a copy of the static read_object() function. But there's only one caller here, so we could just inline it. And it's worth doing so, as the name read_object() invites comparisons to the public read_object_file(), but the two don't behave quite the same. [1] The move happened over several commits, but the relevant one here is f1d8130be0 (pack: move clear_delta_base_cache(), packed_object_info(), unpack_entry(), 2017-08-18). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--inline_--stdout_initial..main^')
0 files changed, 0 insertions, 0 deletions