debian-mirror-gitlab/lib/gitlab/git/tag.rb
2017-09-10 17:25:29 +05:30

20 lines
356 B
Ruby

# Gitaly note: JV: no RPC's here.
#
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