Skip to content

objectpool: use rev-list for connectivity check

John Cai requested to merge jc-use-rev-list-for-connectivity into master

git fsck --connectivity-only uses much more memory than git rev-list --all --objects, which effectively does the same connectivity check but with less than half the memory consumption. Switch to using git rev-list --all --objects behind a feature flag.

Changelog: changed

fixes: #4365 (closed)

Edited by John Cai

Merge request reports