diff options
author | Jacek Centkowski <geminica.programs@gmail.com> | 2024-09-20 08:47:13 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2024-11-07 23:53:55 +0100 |
commit | 93ede18ffd17df936da4e8d0ef28e2ba69019c93 (patch) | |
tree | 1a511428c34daf4c7603d6f0b000b9563522fb9b /CONTRIBUTING.md | |
parent | 958d053920a27ee1de0b5290099e4f7149de2c4b (diff) | |
download | jgit-93ede18ffd17df936da4e8d0ef28e2ba69019c93.tar.gz jgit-93ede18ffd17df936da4e8d0ef28e2ba69019c93.zip |
Add `numberOfPackFilesAfterBitmap` to RepoStatistics
Introduce a `numberOfPackFilesAfterBitmap` that contains the number of
packfiles created since the latest bitmap generation.
Notes:
* the `repo.getObjectDatabase().getPacks()` that obtains the list of
packs (in the existing `getStatistics` function) uses
`PackDirectory.scanPacks` that boils down to call
`PackDirectory.scanPacksImpl` which is sorting packs prior returning
them therefore the `numberOfPackFilesAfterBitmap` is just all packs
before the one that has bitmap attached
* the improved version of `packAndPrune` function (one that skips
non-existent packfiles) was introduced for testing
Change-Id: I608011462f104fc002ac527aa405f492a8a4b0c2
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions