]> git.ipfire.org Git - thirdparty/git.git/commit
t4216: add end to end tests for git log with Bloom filters
authorGarima Singh <garima.singh@microsoft.com>
Mon, 6 Apr 2020 16:59:54 +0000 (16:59 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Apr 2020 18:08:37 +0000 (11:08 -0700)
commita759bfa9eeb2a080d7c5c0a3c4096db5438c06bf
treefef4d313837c9eafab49b1c701d527689d48f261
parent42e50e78c6fd8978c2218bbd7b3483ae51d5e3f9
t4216: add end to end tests for git log with Bloom filters

These tests exercises writing commit graph with Bloom filters
and exercises 'git log -- path' with all the applicable
options. They check that the output is the same with and
without Bloom filters, confirm Bloom filters were used by
checking if trace2 statistics were logged correctly.

Also confirms cases where Bloom filters are not used:
1. Multiple path specs,
2. --walk-reflogs (see patch titled 'revision.c: use Bloom filters...'
   for details,
3. If the latest commit graph does not have Bloom filters

Signed-off-by: Garima Singh <garima.singh@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/helper/test-read-graph.c
t/t4216-log-bloom.sh [new file with mode: 0755]