summaryrefslogtreecommitdiffstats
path: root/bloom.c
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2024-06-25 19:39:50 +0200
committerJunio C Hamano <gitster@pobox.com>2024-06-25 22:52:06 +0200
commitea0024deb9faa5474673a3db8f4f98812b48f44d (patch)
tree7e959f95f09c6b6e7f9e83ece613e4eacf59e3e6 /bloom.c
parentt4216: test changed path filters with high bit paths (diff)
downloadgit-ea0024deb9faa5474673a3db8f4f98812b48f44d.tar.xz
git-ea0024deb9faa5474673a3db8f4f98812b48f44d.zip
repo-settings: introduce commitgraph.changedPathsVersion
A subsequent commit will introduce another version of the changed-path filter in the commit graph file. In order to control which version to write (and read), a config variable is needed. Therefore, introduce this config variable. For forwards compatibility, teach Git to not read commit graphs when the config variable is set to an unsupported version. Because we teach Git this, commitgraph.readChangedPaths is now redundant, so deprecate it and define its behavior in terms of the config variable we introduce. This commit does not change the behavior of writing (Git writes changed path filters when explicitly instructed regardless of any config variable), but a subsequent commit will restrict Git such that it will only write when commitgraph.changedPathsVersion is a recognized value. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bloom.c')
0 files changed, 0 insertions, 0 deletions