diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-07-14 16:30:58 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-07-14 18:08:53 +0300 |
commit | b304fd790b8679d3314fe283173dfef6af6f8066 (patch) | |
tree | ab830db8760a434905707f868b10d12664d3800e /lib/gitlab/git/tag.rb | |
parent | 08b462b9b0e4795d1adf3a32d13514ca84bbe14b (diff) |
Make commit lookups explicit
Diffstat (limited to 'lib/gitlab/git/tag.rb')
-rw-r--r-- | lib/gitlab/git/tag.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/git/tag.rb b/lib/gitlab/git/tag.rb index 9a39de6ad07..bc4e160dce9 100644 --- a/lib/gitlab/git/tag.rb +++ b/lib/gitlab/git/tag.rb @@ -5,8 +5,8 @@ module Gitlab class Tag < Ref attr_reader :object_sha - def initialize(repository, name, target, message = nil) - super(repository, name, target) + def initialize(repository, name, target, target_commit, message = nil) + super(repository, name, target, target_commit) @message = message end |