debian-mirror-gitlab/lib/gitlab/git/tag.rb
2018-03-17 18:26:18 +05:30

18 lines
320 B
Ruby

module Gitlab
module Git
class Tag < Ref
attr_reader :object_sha
def initialize(repository, name, target, target_commit, message = nil)
super(repository, name, target, target_commit)
@message = message
end
def message
encode! @message
end
end
end
end