Permalink
Browse files

tags api now resty

  • Loading branch information...
1 parent f38eecb commit f19c39b117036834c372f956fd5f466d576120f7 @schacon schacon committed with rtomayko Jun 16, 2011
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

0 comments on commit f19c39b

Please sign in to comment.