sonic-pi

https://github.com/sonic-pi-net/sonic-pi

C++

Code. Music. Live.

Rugged::Object.rev_parse_oid

Find and return the id of the object inside +repo+ as specified by the
git revision string +str+.

See http://git-scm.com/docs/git-rev-parse.html#_specifying_revisions or
<code>man gitrevisions</code> for information on the accepted syntax.

Raises a Rugged::InvalidError if +str+ does not contain a valid revision string.

Source | Google | Stack overflow

Edit

git clone [email protected]:sonic-pi-net/sonic-pi.git

cd sonic-pi

open app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_object.c

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Rugged--Object-rev_parse_oid-for-pr


# Commit to git

git add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_object.cgit commit -m "better docs for Rugged::Object.rev_parse_oid"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Rugged--Object-rev_parse_oid-for-pr

hub pull-request


# Celebrate!