diff options
author | Taylor Blau <me@ttaylorr.com> | 2020-09-17 09:34:42 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-09-17 09:29:22 -0700 |
commit | 97ffa4fab504a9c5e3b63ff886686c7f6ccd4e70 (patch) | |
tree | ef097701115ba277cbc079f675d61f6cee7fe679 /tar.h | |
parent | commit-graph: respect 'commitGraph.readChangedPaths' (diff) | |
download | tgif-97ffa4fab504a9c5e3b63ff886686c7f6ccd4e70.tar.xz |
commit-graph.c: store maximum changed paths
For now, we assume that there is a fixed constant describing the
maximum number of changed paths we are willing to store in a Bloom
filter.
Prepare for that to (at least partially) not be the case by making it a
member of the 'struct bloom_filter_settings'. This will be helpful in
the subsequent patches by reducing the size of test cases that exercise
storing too many changed paths, as well as preparing for an eventual
future in which this value might change.
This patch alone does not cause newly generated Bloom filters to use
a custom upper-bound on the maximum number of changed paths a single
Bloom filter can hold, that will occur in a later patch.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tar.h')
0 files changed, 0 insertions, 0 deletions