Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2017-07-14 16:30:58 +0300
committerJacob Vosmaer <jacob@gitlab.com>2017-07-14 18:08:53 +0300
commitb304fd790b8679d3314fe283173dfef6af6f8066 (patch)
treeab830db8760a434905707f868b10d12664d3800e /lib/gitlab/git/tag.rb
parent08b462b9b0e4795d1adf3a32d13514ca84bbe14b (diff)
Make commit lookups explicit
Diffstat (limited to 'lib/gitlab/git/tag.rb')
-rw-r--r--lib/gitlab/git/tag.rb4
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