]> source.dussan.org Git - jgit.git/commit
PackWriter: write the PackReverseIndex file 83/197583/33
authorAnna Papitto <annapapitto@google.com>
Tue, 2 May 2023 20:45:05 +0000 (13:45 -0700)
committerAnna Papitto <annapapitto@google.com>
Mon, 8 May 2023 18:23:30 +0000 (11:23 -0700)
commitce88e62edc4dfd6e07d43720c399ec169d594ad7
tree870cfa622d65fd3cabc214e179fca7a099596f72
parent140a8b365aa75a2dc488a221760f513df5232c1c
PackWriter: write the PackReverseIndex file

PackWriter offers the ability to write out the pack file and its various
index files, except for the newly introduced file-based reverse index.

Now that PackReverseIndexWriter can write reverse index files,
PackWriter#writeReverseIndex will write one for a pack if the
corresponding config flag PackConfig#writeReverseIndex is on.

Change-Id: Ib75dd2bbfb9ee9366d5aacb46700d8cf8af4823a
Signed-off-by: Anna Papitto <annapapitto@google.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/file/PackWriterTest.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsGarbageCollector.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackWriter.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/ConfigConstants.java
org.eclipse.jgit/src/org/eclipse/jgit/storage/pack/PackConfig.java