]> source.dussan.org Git - jgit.git/commit
Avoid repacking unreachable garbage in DfsGarbageCollector 96/10996/1
authorShawn Pearce <spearce@spearce.org>
Fri, 8 Mar 2013 19:02:04 +0000 (11:02 -0800)
committerShawn Pearce <spearce@spearce.org>
Fri, 8 Mar 2013 19:07:51 +0000 (11:07 -0800)
commitbb002c619bc373059c4f2494da7870f5679ba845
tree9838623d08ff4e465b2df125d011b2a04286fdac
parent3ad454497cdb6a917c00b01c735f5a469b8fb2ff
Avoid repacking unreachable garbage in DfsGarbageCollector

If a repository has significant amounts of unreachable garbage the
final phase to coalesce it can take longer than any other part of the
garbage collection phase. Provide a setting for applications to tweak
the threshold where coalescing ends and files just remain on disk.

Change-Id: I5f11a998a7185c75ece3271d8bc6181bb83f54c1
org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/DfsGarbageCollector.java