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

tag.rb « git « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bc4e160dce98641f8506948a1bddb8752ca28969 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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