sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Rugged::OdbObject#data
Return an ASCII buffer with the raw bytes that form the Git object.
odb_obj.data #=> "tree 87ebee8367f9cc5ac04858b3bd5610ca74f04df9\n"
#=> "parent 68d041ee999cb07c6496fbdd4f384095de6ca9e1\n"
#=> "author Vicent Martà <[email protected]> 1326863045 -0800\n"
#=> ...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--OdbObject-data-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::OdbObject#data"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Rugged--OdbObject-data-for-pr
hub pull-request
# Celebrate!