]> source.dussan.org Git - jgit.git/commit
DfsPackCompactor: write object size index 68/1203468/4
authorIvan Frade <ifrade@google.com>
Fri, 1 Nov 2024 15:58:27 +0000 (08:58 -0700)
committerIvan Frade <ifrade@google.com>
Fri, 1 Nov 2024 22:59:21 +0000 (15:59 -0700)
commitee44c6ea9c49f98efd4ae6d11d283fcac8edc3c3
treec22478561d5ed53d9e57fe54beb1f4647b3bd8e9
parent4ec2413e14043f6d9a0ebd6616fdef2464fe4880
DfsPackCompactor: write object size index

Currently the compactor is not writing the object size index for
packs. As it is using PackWriter to generate the packs, it needs to
explicitely call the writes of each extension.

Invoke writeObjectSizeIndex in the compactor. The pack writer will
write one if the configuration says so.

Change-Id: I8d6bbbb5bd67bfc7dd511aa76463512b1e86a45d
org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsPackCompacterTest.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsPackCompactor.java