]> source.dussan.org Git - jgit.git/commit
Allow overriding DfsPackDescription comparator for scanning packs 98/123698/3
authorDave Borowitz <dborowitz@google.com>
Wed, 30 May 2018 16:18:12 +0000 (09:18 -0700)
committerDave Borowitz <dborowitz@google.com>
Fri, 1 Jun 2018 16:41:31 +0000 (12:41 -0400)
commit5c02ce52d6d746270e05c2fe7bb3478d3d937f53
tree32437df253692788c6972ec017bbef038115ff40
parent96512f5d3bdb904b33ad4aa9a55d07889d27eb5b
Allow overriding DfsPackDescription comparator for scanning packs

Provide a factory for comparators that use the default heuristics except
with a different ordering of PackSources.

Change-Id: I0809b64deb3d0486040076946fdbdad650d69240
org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/dfs/DfsPackDescriptionTest.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsObjDatabase.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsPackDescription.java