]> git.ipfire.org Git - thirdparty/git.git/commit
bloom: annotate filters with hash version
authorTaylor Blau <me@ttaylorr.com>
Tue, 25 Jun 2024 17:39:54 +0000 (13:39 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 25 Jun 2024 20:52:06 +0000 (13:52 -0700)
commit5b5d5b598ccb8d5eb8a1de3abbf7b5829f9ac4fe
tree22b1f42a28541662f90396f2ebf954798e59271e
parentea0024deb9faa5474673a3db8f4f98812b48f44d
bloom: annotate filters with hash version

In subsequent commits, we will want to load existing Bloom filters out
of a commit-graph, even when the hash version they were computed with
does not match the value of `commitGraph.changedPathVersion`.

In order to differentiate between the two, add a "version" field to each
Bloom filter.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
bloom.c
bloom.h