As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
Commit 1ca8a44f authored by Jacob Vosmaer's avatar Jacob Vosmaer
Browse files

Do not prune objects during 'git gc'

This is a workaround to reduce the impact of
https://gitlab.com/gitlab-org/gitlab-ce/issues/13524 .
parent bceed736
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -288,7 +288,7 @@ class GitlabProjects
$logger.error "gc failed: destination path <#{full_path}> does not exist."
return false
end
cmd = %W(git --git-dir=#{full_path} gc)
cmd = %W(git --git-dir=#{full_path} gc --no-prune)
system(*cmd)
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment