Method: Git::Status::StatusFile#blob
- Defined in:
- lib/git/status.rb
#blob(type = :index) ⇒ Object
74 75 76 77 78 79 80 |
# File 'lib/git/status.rb', line 74 def blob(type = :index) if type == :repo @base.object(@sha_repo) else @base.object(@sha_index) rescue @base.object(@sha_repo) end end |