diff options
author | Taylor Blau <me@ttaylorr.com> | 2023-07-10 23:12:31 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-07-10 23:48:55 +0200 |
commit | c489f47a649da8984a2240032e1d819e9a80ea2a (patch) | |
tree | 1d87922b2067d0566ee39f9ec2b85a0616312c83 /revision.h | |
parent | refs/packed-backend.c: implement jump lists to avoid excluded pattern(s) (diff) | |
download | git-c489f47a649da8984a2240032e1d819e9a80ea2a.tar.xz git-c489f47a649da8984a2240032e1d819e9a80ea2a.zip |
refs/packed-backend.c: add trace2 counters for jump list
The previous commit added low-level tests to ensure that the packed-refs
iterator did not enumerate excluded sections of the refspace.
However, there was no guarantee that these sections weren't being
visited, only that they were being suppressed from the output. To harden
these tests, add a trace2 counter which tracks the number of regions
skipped by the packed-refs iterator, and assert on its value.
Suggested-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.h')
0 files changed, 0 insertions, 0 deletions