Fix formatting in GC#doGc
Change-Id: Ifa3adb66d4e0404bab4036d6b165d6c4dafe921a
This commit is contained in:
parent
ad07196d60
commit
cfacc43b52
|
@ -279,17 +279,17 @@ private Collection<Pack> doGc() throws IOException, ParseException {
|
||||||
if (!lock.lock()) {
|
if (!lock.lock()) {
|
||||||
return Collections.emptyList();
|
return Collections.emptyList();
|
||||||
}
|
}
|
||||||
pm.start(6 /* tasks */);
|
pm.start(6 /* tasks */);
|
||||||
packRefs();
|
packRefs();
|
||||||
// TODO: implement reflog_expire(pm, repo);
|
// TODO: implement reflog_expire(pm, repo);
|
||||||
Collection<Pack> newPacks = repack();
|
Collection<Pack> newPacks = repack();
|
||||||
prune(Collections.emptySet());
|
prune(Collections.emptySet());
|
||||||
// TODO: implement rerere_gc(pm);
|
// TODO: implement rerere_gc(pm);
|
||||||
if (shouldWriteCommitGraphWhenGc()) {
|
if (shouldWriteCommitGraphWhenGc()) {
|
||||||
writeCommitGraph(refsToObjectIds(getAllRefs()));
|
writeCommitGraph(refsToObjectIds(getAllRefs()));
|
||||||
|
}
|
||||||
|
return newPacks;
|
||||||
}
|
}
|
||||||
return newPacks;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue