sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Rugged::Commit#parent_oids
Return the parent oid(s) of this commit as an array of oid String objects. An array is always returned even when the commit has only one or zero parents. commit.parent_ids #=> => ["2cb831a8aea28b2c1b9c63385585b864e4d3bad1", ...] root.parent_ids #=> []
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_commit.c
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rugged--Commit-parent_oids-for-pr
# Commit to gitgit add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_commit.cgit commit -m "better docs for Rugged::Commit#parent_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--Commit-parent_oids-for-pr
hub pull-request
# Celebrate!