diff options
author | Serdar Dogruyol <dogruyolserdar@gmail.com> | 2018-01-17 00:01:07 +0300 |
---|---|---|
committer | Serdar Dogruyol <dogruyolserdar@gmail.com> | 2018-01-17 00:01:07 +0300 |
commit | 5750ddf6dc3aa8e053383aa69ac313ffac45067b (patch) | |
tree | fd414ba99ce45326552e8c7b5dc24469a6fa09cd /lib | |
parent | ad1c186ed386afab578668ccdc21cb02354c81bc (diff) |
Fix dereferenced_target naming in Gitlab::Git::Ref initialize
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) |