diff options
author | Taylor Blau <me@ttaylorr.com> | 2024-06-25 19:39:50 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-06-25 22:52:06 +0200 |
commit | ea0024deb9faa5474673a3db8f4f98812b48f44d (patch) | |
tree | 7e959f95f09c6b6e7f9e83ece613e4eacf59e3e6 /prompt.h | |
parent | t4216: test changed path filters with high bit paths (diff) | |
download | git-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 'prompt.h')
0 files changed, 0 insertions, 0 deletions