gitlab-org--gitlab-foss/lib/gitlab/git/tag.rb

20 lines
326 B
Ruby
Raw Normal View History

# Gitaly note: JV: no RPC's here.
#
2017-01-04 18:43:06 +00:00
module Gitlab
module Git
class Tag < Ref
attr_reader :object_sha
def initialize(repository, name, target, message = nil)
super(repository, name, target)
@message = message
end
def message
encode! @message
end
end
end
end