Add a global feature flag for object deduplication
We currently only have a feature flag object_pools
which enables or disables "future forks of this repository may use object deduplication". It is scoped per repository.
For the GA delivery of object deduplication, we should have a global git_object_deduplication
feature flag.
- if
git_object_deduplication
is true, ignore the per-repo flag - if
git_object_deduplication
is false, fall back to the per-repo flag
If I got my boolean logic right, that means Feature.enabled?(:git_object_deduplication) || Feature.enabled?(:object_pools, project)
Edited by Jacob Vosmaer