Method: Git::Base#revparse

Defined in:
lib/git/base.rb

#revparse(objectish) ⇒ Object

runs git rev-parse to convert the objectish to a full sha

@git.revparse("HEAD^^")
@git.revparse('v2.4^{tree}')
@git.revparse('v2.4:/doc/index.html')


521
522
523
# File 'lib/git/base.rb', line 521

def revparse(objectish)
  self.lib.revparse(objectish)
end