sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Rugged::Repository#expand_oids
Expand a list of short oids to their full value, assuming they exist
in the repository. If `object_type` is passed, OIDs are expected to be
of the given type.
Returns a hash of `{ short_oid => full_oid }` for the short OIDs which
exist in the repository and match the expected object type. Missing OIDs
will not appear in the resulting hash.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_repo.c
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rugged--Repository-expand_oids-for-pr
# Commit to gitgit add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_repo.cgit commit -m "better docs for Rugged::Repository#expand_oids"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Rugged--Repository-expand_oids-for-pr
hub pull-request
# Celebrate!