]> source.dussan.org Git - jgit.git/commit
CommitGraphLoader: receive readChangedPaths as parameter 97/1178197/3
authorXing Huang <xingkhuang@google.com>
Tue, 12 Mar 2024 21:24:10 +0000 (16:24 -0500)
committerIvan Frade <ifrade@google.com>
Tue, 12 Mar 2024 22:55:56 +0000 (22:55 +0000)
commit631cbf59f3f8da23737694158ac79ca1c4e0a485
treeaf9e1b10985c7098b106682c79d7cef04d218d51
parent1a654d3db6e5bd667dd5218a55084545538519a2
CommitGraphLoader: receive readChangedPaths as parameter

commitGraph.readChangedPaths controls the read of bloom filter
chunks from commit graph. CommitGraphLoader uses SystemReader
to read this conf, so it only sees its value when it is set in
$XDG_CONFIG_HOME/jgit/config (and not, for example, in the repo
config).

Pass the readChangedPaths value to the method that reads the commit
graph. Callers should read the value from the right configuration.

This change is a noop, but allows to move callers to the new method
progressively. Follow up changes will remove the previous method and
its usages.

Signed-off-by: Xing Huang <xingkhuang@google.com>
Change-Id: If10c9b758fbe0498c7bd1e6ac1cda8869682f16d
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/commitgraph/CommitGraphLoader.java