]> source.dussan.org Git - jgit.git/commit
DfsInserter/PackParser: keep min size for index in the inserter 19/1174419/3
authorIvan Frade <ifrade@google.com>
Wed, 10 Jan 2024 23:36:24 +0000 (15:36 -0800)
committerIvan Frade <ifrade@google.com>
Thu, 11 Jan 2024 17:49:23 +0000 (09:49 -0800)
commit30788537771e04acf98d775cae971484adfd3007
tree710881bb2777385e6a0302e4e4b6023092e05967
parentef53cb8a9f15d5548bfbb3d4da479104c081e747
DfsInserter/PackParser: keep min size for index in the inserter

Both, inserter and packparser read the minimum size for the object
size index. The writing is invoked from both classes but done only by
the inserter.

Let the inserter read and handle the conf. Do this in the constructor
and allow override so some paths can hardcode a value.

Change-Id: I890cadd29678a53738761f4b0ab13020d6353f3e
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsInserter.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsPackParser.java