summaryrefslogtreecommitdiff
path: root/app/presenters
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-03-04 06:18:17 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-03-04 06:18:17 +0000
commitfc45ff50c106fd759ebe424a9ede892838a72070 (patch)
tree7585eb75c7dd7d19fe1febd83bc243081fc9d3cf /app/presenters
parentb6927b3dd66fc3e5954f866c692b0ee8e276ec57 (diff)
downloadgitlab-ce-fc45ff50c106fd759ebe424a9ede892838a72070.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/presenters')
-rw-r--r--app/presenters/ci/build_runner_presenter.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/presenters/ci/build_runner_presenter.rb b/app/presenters/ci/build_runner_presenter.rb
index 8e1b675d051..082993130a1 100644
--- a/app/presenters/ci/build_runner_presenter.rb
+++ b/app/presenters/ci/build_runner_presenter.rb
@@ -105,10 +105,7 @@ module Ci
end
def refspec_for_persistent_ref
- # Use persistent_ref.sha because it sometimes causes 'git fetch' to do
- # less work. See
- # https://gitlab.com/gitlab-com/gl-infra/scalability/-/issues/746.
- "+#{pipeline.persistent_ref.sha}:#{pipeline.persistent_ref.path}"
+ "+#{pipeline.persistent_ref.path}:#{pipeline.persistent_ref.path}"
end
def persistent_ref_exist?