Skip to content
This repository
Browse code

tags api now resty

  • Loading branch information...
commit f19c39b117036834c372f956fd5f466d576120f7 1 parent f38eecb
Scott Chacon schacon authored rtomayko committed

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  lib/grit/git-ruby/git_object.rb
3  lib/grit/git-ruby/git_object.rb
@@ -291,7 +291,7 @@ def raw_log(sha)
291 291 end
292 292
293 293 class Tag < GitObject
294   - attr_accessor :object, :tag, :tagger, :message
  294 + attr_accessor :object, :tag, :tagger, :message, :object_type
295 295 attr_writer :type
296 296
297 297 def self.from_raw(rawobject, repository=nil)
@@ -332,6 +332,7 @@ def self.from_raw(rawobject, repository=nil)
332 332 def initialize(object, type, tag, tagger, message, repository=nil)
333 333 @object = object
334 334 @type = type
  335 + @object_type = type
335 336 @tag = tag
336 337 @tagger = tagger
337 338 @repository = repository

0 comments on commit f19c39b

Please sign in to comment.
Something went wrong with that request. Please try again.