Commit 774e7512 authored by Douwe Maan's avatar Douwe Maan

Merge branch 'fix-derefenced-target' into 'master'

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

See merge request gitlab-org/gitlab-ce!16504
parents 28bd9029 5750ddf6
......@@ -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