diff options
author | Douwe Maan <douwe@gitlab.com> | 2018-01-19 12:22:17 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-01-19 12:22:17 +0300 |
commit | 774e7512649ab6d5a47430edda3b0517af15f600 (patch) | |
tree | 814464c4cc9aec0e92ff599ffd8f2f289c43244d /lib | |
parent | 28bd902980f38158153e386d53cafa2157313f6d (diff) | |
parent | 5750ddf6dc3aa8e053383aa69ac313ffac45067b (diff) |
Merge branch 'fix-derefenced-target' into 'master'
Fix dereferenced_target naming in Gitlab::Git::Ref initialize
See merge request gitlab-org/gitlab-ce!16504
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/git/ref.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/git/ref.rb b/lib/gitlab/git/ref.rb index 372ce005b94..a3ba9475ad0 100644 --- a/lib/gitlab/git/ref.rb +++ b/lib/gitlab/git/ref.rb @@ -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) |