diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-08-08 16:06:34 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-08-08 10:14:42 -0700 |
commit | 5f0ed603a1653f2394c468814bde4b0dca2cff45 (patch) | |
tree | d29206b98814668e072709f087d283df3f816f62 /builtin/commit.c | |
parent | 8030100bdafc508eaa7900ebcfd67a2d6b02749e (diff) |
reftable/stack: update stats on failed full compaction
When auto-compaction fails due to a locking error, we update the
statistics to indicate this failure. We're not doing the same when
performing a full compaction.
Fix this inconsistency by using `stack_compact_range_stats()`, which
handles the stat update for us.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions