]> source.dussan.org Git - jgit.git/commit
Support excluding objects during DFS compaction 62/11962/1
authorShawn Pearce <sop@google.com>
Wed, 17 Apr 2013 00:54:23 +0000 (17:54 -0700)
committerShawn Pearce <sop@google.com>
Wed, 17 Apr 2013 00:54:23 +0000 (17:54 -0700)
commit3c27ee1a916592d76a92032c57e66d775f830e45
tree4cd65629491f9f14d0968c4cd91ff37f51e5734c
parenteaa52b12f542e1d52c277989533a3c1bea3cc02e
Support excluding objects during DFS compaction

By excluding objects the compactor can avoid storing objects that
are already well packed in the base GC packs, or any other pack
not being replaced by the current compaction operation.

For deltas the base object is still included even if the base exists
in another exclusion set.  This favors keeping deltas for recent
history, to support faster fetch operations for clients.

Change-Id: Ie822fe075fe5072fe3171450fda2f0ca507796a1
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsPackCompactor.java