summaryrefslogtreecommitdiff
path: root/lib/gitlab/checks/commit_check.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/checks/commit_check.rb')
-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