diff options
author | Ivan Frade <ifrade@google.com> | 2024-07-01 12:24:36 -0700 |
---|---|---|
committer | Ivan Frade <ifrade@google.com> | 2024-07-10 14:47:03 -0700 |
commit | 2ea9ccf3e8ccc6603fa13336903b453bb5c140d4 (patch) | |
tree | 73869c4fe25469c8cfe6f3236936bebeb53c0b5c /org.eclipse.jgit.archive/src | |
parent | 00fa31b6ec9af18c965a37ff6667dfdb22cea083 (diff) | |
download | jgit-2ea9ccf3e8ccc6603fa13336903b453bb5c140d4.tar.gz jgit-2ea9ccf3e8ccc6603fa13336903b453bb5c140d4.zip |
DfsPackFile: Enable/disable object size index via DfsReaderOptions
DfsPackFile always uses the object size index if available. That is
the desired final state, but for a safe rollout, we should be able to
disable using the object size index.
Add an option (dfs.useObjectSizeIndex) to enable/disable the usage of
the object size index. False by default.
This changes the default from true to false. It only makes a different
for the DFS stack when writing of the index was explicitely
enabled. This is an optimization, so it shouldn't cause any
regression. Operators can restore previous behaviour setting
"dfs.useObjectSizeIndex" to true.
Change-Id: I44bf5a57e3942a4ecfe66d58bfa9175e99f96fcc
Diffstat (limited to 'org.eclipse.jgit.archive/src')
0 files changed, 0 insertions, 0 deletions