Commit 5750ddf6 authored by Serdar Dogruyol's avatar Serdar Dogruyol

Fix dereferenced_target naming in Gitlab::Git::Ref initialize

parent ad1c186e
......@@ -33,9 +33,9 @@ module Gitlab
object
end
def initialize(repository, name, target, derefenced_target)
def initialize(repository, name, target, dereferenced_target)
@name = Gitlab::Git.ref_name(name)
@dereferenced_target = derefenced_target
@dereferenced_target = dereferenced_target
@target = if target.respond_to?(:oid)
target.oid
elsif target.respond_to?(:name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment