Follow-up from "Add project level git depth setting"
The following discussion from !28919 (merged) should be addressed:
-
@ayufan started a discussion: I think that we should add feature flags for this feature, just in case and remove as soon as we confirm it remove it:
- in
set_default_git_depth
,return unless Feature.enabled?(:ci_set_project_default_git_depth, default_enabled: true)
, - in
BuildPresenter#git_depth
changeelse
toelsif Feature.enabled?(:ci_project_git_depth, default_enabled: true)
.
- in