summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2018-11-16 08:53:58 +0000
committerDouwe Maan <douwe@gitlab.com>2018-11-16 08:53:58 +0000
commita480c551a2e875149fa97ad56940bb4ecbbfd9b8 (patch)
tree0991eb35bbc77098d45c6703aa1653df5f47d00d /lib
parente7a40cbe1637c7331e3397ed29a5e66ee7a1ade6 (diff)
parent3797cfbd392df9a73f709126c837725622116f17 (diff)
downloadgitlab-ce-a480c551a2e875149fa97ad56940bb4ecbbfd9b8.tar.gz
Merge branch 'fj-fix-bug-commit-check' into 'master'
Fix bug in Gitlab::Checks::CommitCheck See merge request gitlab-org/gitlab-ce!23045
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/checks/commit_check.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/checks/commit_check.rb b/lib/gitlab/checks/commit_check.rb
index 6dd74e8fb74..58267b6752f 100644
--- a/lib/gitlab/checks/commit_check.rb
+++ b/lib/gitlab/checks/commit_check.rb
@@ -10,8 +10,8 @@ module Gitlab
def initialize(project, user, newrev, oldrev)
@project = project
@user = user
- @newrev = user
- @oldrev = user
+ @newrev = newrev
+ @oldrev = oldrev
@file_paths = []
end