BigW Consortium Gitlab

tag.rb 356 Bytes
Newer Older
1 2
# Gitaly note: JV: no RPC's here.
#
Robert Speicher committed
3 4 5 6 7
module Gitlab
  module Git
    class Tag < Ref
      attr_reader :object_sha

8 9
      def initialize(repository, name, target, target_commit, message = nil)
        super(repository, name, target, target_commit)
Robert Speicher committed
10 11 12 13 14 15 16 17 18 19

        @message = message
      end

      def message
        encode! @message
      end
    end
  end
end