summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.archive/src
diff options
context:
space:
mode:
authorDavid Turner <dturner@twosigma.com>2017-02-16 13:43:49 -0500
committerDavid Turner <dturner@twosigma.com>2017-02-17 11:26:09 -0500
commitd3962fef6b9736c416c14dbb12b54c0a4a269763 (patch)
treeb637818d799da911d3dde019c930d2e74ccde51c /org.eclipse.jgit.archive/src
parente43db8ebf645e683a362f1253680f69e6ddf55eb (diff)
downloadjgit-d3962fef6b9736c416c14dbb12b54c0a4a269763.tar.gz
jgit-d3962fef6b9736c416c14dbb12b54c0a4a269763.zip
GC: don't loosen doomed objects
If the pruneexpire config is set to "now", then any unreferenced loose objects are immediately eligible for gc. So there is no need to actually write the loose objects. Users who run hosting services which sometimes accept large, entirely garbage packs might set the following configurations: gc.pruneExpire = now gc.prunePackExpire = 2.weeks Then garbage objects will be kept around in packs, but after two weeks the packs themselves will get deleted. For client-side users of jgit, the default settings will loosen garbage objects, and, after an hour, delete the old packs in which they resided. Change-Id: I8f686ac60b40181b1ee92ac6c313c3f33b55c44c Signed-off-by: David Turner <dturner@twosigma.com>
Diffstat (limited to 'org.eclipse.jgit.archive/src')
0 files changed, 0 insertions, 0 deletions