diff options
author | Taylor Blau <me@ttaylorr.com> | 2022-01-25 17:41:05 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-01-27 12:07:53 -0800 |
commit | 09a77999e787911244e2a8d09fdce7a7428429f4 (patch) | |
tree | 255b2bba8b1008c7ba87ca07fa8cc0e37d806ca3 /connect.h | |
parent | midx.c: make changing the preferred pack safe (diff) | |
download | tgif-09a77999e787911244e2a8d09fdce7a7428429f4.tar.xz |
pack-revindex.c: instrument loading on-disk reverse index
In a subsequent commit, we'll use the MIDX's new 'RIDX' chunk as a
source for the reverse index's data. But it will be useful for tests to
be able to determine whether the reverse index was loaded from the
separate .rev file, or from a chunk within the MIDX.
To instrument this, add a trace2 event which the tests can look for in
order to determine the reverse index's source.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Reviewed-by: Derrick Stolee <dstolee@microsoft.com>
Reviewed-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'connect.h')
0 files changed, 0 insertions, 0 deletions