Method: Rugged::Object.rev_parse
- Defined in:
- ext/rugged/rugged_object.c
permalink .rev_parse(repo, str) ⇒ Object
Find and return a single object inside repo
as specified by the git revision string str
.
See git-scm.com/docs/git-rev-parse.html#_specifying_revisions or man gitrevisions
for information on the accepted syntax.
Raises a Rugged::InvalidError if str
does not contain a valid revision string.
323 324 325 326 |
# File 'ext/rugged/rugged_object.c', line 323 VALUE rb_git_object_rev_parse(VALUE klass, VALUE rb_repo, VALUE rb_spec) { return rugged_object_rev_parse(rb_repo, rb_spec, 1); } |