BigW Consortium Gitlab

Commit 5750ddf6 by Serdar Dogruyol

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

parent ad1c186e
...@@ -33,9 +33,9 @@ module Gitlab ...@@ -33,9 +33,9 @@ module Gitlab
object object
end end
def initialize(repository, name, target, derefenced_target) def initialize(repository, name, target, dereferenced_target)
@name = Gitlab::Git.ref_name(name) @name = Gitlab::Git.ref_name(name)
@dereferenced_target = derefenced_target @dereferenced_target = dereferenced_target
@target = if target.respond_to?(:oid) @target = if target.respond_to?(:oid)
target.oid target.oid
elsif target.respond_to?(:name) 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