Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

tags api now resty

  • Loading branch information...
commit f19c39b117036834c372f956fd5f466d576120f7 1 parent f38eecb
@schacon schacon authored rtomayko committed
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/grit/git-ruby/git_object.rb
View
3  lib/grit/git-ruby/git_object.rb
@@ -291,7 +291,7 @@ def raw_log(sha)
end
class Tag < GitObject
- attr_accessor :object, :tag, :tagger, :message
+ attr_accessor :object, :tag, :tagger, :message, :object_type
attr_writer :type
def self.from_raw(rawobject, repository=nil)
@@ -332,6 +332,7 @@ def self.from_raw(rawobject, repository=nil)
def initialize(object, type, tag, tagger, message, repository=nil)
@object = object
@type = type
+ @object_type = type
@tag = tag
@tagger = tagger
@repository = repository
Please sign in to comment.
Something went wrong with that request. Please try again.