Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2018-02-06 22:14:43 +0300
committerDouwe Maan <douwe@gitlab.com>2018-02-06 22:14:43 +0300
commitc51eb79bbe62a7f02a2fd0c826b7af0b7573fa4c (patch)
treed7bd4cd4cf82b838e9da7ca50cf683c55bf02237 /lib/gitlab/checks
parent8b4280cb25cd27c3b2c1cbdfb7ee871a7ebaa6d3 (diff)
parent3f3b84e026aa79535fa639bf08962e7b7c6b63cd (diff)
Merge branch 'master' into '26388-push-to-create-a-new-project'
# Conflicts: # lib/gitlab/path_regex.rb
Diffstat (limited to 'lib/gitlab/checks')
-rw-r--r--lib/gitlab/checks/force_push.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/checks/force_push.rb b/lib/gitlab/checks/force_push.rb
index dc5d285ea65..c9c3050cfc2 100644
--- a/lib/gitlab/checks/force_push.rb
+++ b/lib/gitlab/checks/force_push.rb
@@ -15,8 +15,8 @@ module Gitlab
.ancestor?(oldrev, newrev)
else
Gitlab::Git::RevList.new(
- path_to_repo: project.repository.path_to_repo,
- oldrev: oldrev, newrev: newrev).missed_ref.present?
+ project.repository.raw, oldrev: oldrev, newrev: newrev
+ ).missed_ref.present?
end
end
end