diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-07-30 13:20:31 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-07-30 13:20:31 -0700 |
commit | 70cdbbe3a7028b9c1eb7542a0aa038b971d3fb27 (patch) | |
tree | 0bf9a4f33ed2d2bb1c21f11227ffdfa0212c8716 /revision.h | |
parent | de6dda0dc3d95cd9aaf43a7b85ceeb57316dcc27 (diff) | |
parent | c525ce95b46b34f344c360dbef036cec3ea08e53 (diff) | |
download | git-70cdbbe3a7028b9c1eb7542a0aa038b971d3fb27.tar.gz |
Merge branch 'ds/commit-graph-bloom-updates' into master
Updates to the changed-paths bloom filter.
* ds/commit-graph-bloom-updates:
commit-graph: check all leading directories in changed path Bloom filters
revision: empty pathspecs should not use Bloom filters
revision.c: fix whitespace
commit-graph: check chunk sizes after writing
commit-graph: simplify chunk writes into loop
commit-graph: unify the signatures of all write_graph_chunk_*() functions
commit-graph: persist existence of changed-paths
bloom: fix logic in get_bloom_filter()
commit-graph: change test to die on parse, not load
commit-graph: place bloom_settings in context
Diffstat (limited to 'revision.h')
-rw-r--r-- | revision.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/revision.h b/revision.h index f412ae85eb..889216c2d8 100644 --- a/revision.h +++ b/revision.h @@ -301,8 +301,10 @@ struct rev_info { struct topo_walk_info *topo_walk_info; /* Commit graph bloom filter fields */ - /* The bloom filter key for the pathspec */ - struct bloom_key *bloom_key; + /* The bloom filter key(s) for the pathspec */ + struct bloom_key *bloom_keys; + int bloom_keys_nr; + /* * The bloom filter settings used to generate the key. * This is loaded from the commit-graph being used. |