summaryrefslogtreecommitdiff
path: root/t/unit-tests
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2023-12-14 17:24:36 -0500
committerJunio C Hamano <gitster@pobox.com>2023-12-14 14:38:09 -0800
commit54393e4e68f2b4cf1ebaab8a934e83c9384595af (patch)
tree1775a93e24a8c44aa28913d4b5178ace329751c7 /t/unit-tests
parent519e17ff75180c3e94a7c120c3028b926f2a781e (diff)
pack-objects: add tracing for various packfile metrics
As part of the multi-pack reuse effort, we will want to add some tests that assert that we reused a certain number of objects from a certain number of packs. We could do this by grepping through the stderr output of `pack-objects`, but doing so would be brittle in case the output format changed. Instead, let's use the trace2 mechanism to log various pieces of information about the generated packfile, which we can then use to compare against desired values. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests')
0 files changed, 0 insertions, 0 deletions