Method: Git::Base#revparse

Defined in:
lib/git/base.rb

#revparse(objectish)

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

Examples:

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


605
606
607
# File 'lib/git/base.rb', line 605

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