aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.12.tpd
diff options
context:
space:
mode:
authorMartin Fick <mfick@nvidia.com>2025-02-13 15:38:14 -0800
committerMatthias Sohn <matthias.sohn@sap.com>2025-02-25 23:10:38 +0000
commite328d203f20b8cd0a9b55678bfe3678ffd5d8179 (patch)
treee98798bc57a086052f8763044e0ead150254b14f /org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.12.tpd
parentdb2fe41a560fcbd7f92d5d95633b2b742e51de08 (diff)
downloadjgit-stable-6.10.tar.gz
jgit-stable-6.10.zip
Do not load bitmap indexes during directory scansstable-6.10
Previously, if a bitmap index had not been loaded yet, it would get loaded during a directory scan. Loading a bitmap file can be expensive and there is no immediate need to do so during a scan. Fix this by simply setting bitmap index file names on the Packs during directory scans so that bitmaps can be lazily loaded at some later point if they are needed. This change has the side affect of no longer marking a Pack valid if it is currently invalid simply because a bitmap file has been found, as there is no valid reason to do so and this can incorrectly mark a Pack without an index, or with other issues valid. Since the initial lack of a bitmap file, or an invalid one, or the deletion of one, would not result in the Pack being marked invalid, there is no need to overturn the invalid flag when a new bitmap file is found. Change-Id: I056acc09e7ae6a0982acd81b552d524190ebb4be Signed-off-by: Martin Fick <mfick@nvidia.com>
Diffstat (limited to 'org.eclipse.jgit.packaging/org.eclipse.jgit.target/jgit-4.12.tpd')
0 files changed, 0 insertions, 0 deletions