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 d5fb181e authored by Jacob Vosmaer's avatar Jacob Vosmaer
Browse files

Revert "Do not prune objects during 'git gc'"

This reverts commit 1ca8a44f.

Never pruning loose objects at all is not really a solution for
anything, and it causes annoying `git gc --auto` warnings.
parent b8dffd83
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -358,7 +358,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 --no-prune)
cmd = %W(git --git-dir=#{full_path} gc)
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