sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Rugged::Submodule#workdir_oid
Returns the OID for the submodule in the current working directory or +nil+ of the submodule is not checked out. This returns the OID that corresponds to looking up +HEAD+ in the checked out submodule. If there are pending changes in the index or anything else, this won't notice that. #status can be called for a more complete picture about the state of the working directory.
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_submodule.c
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rugged--Submodule-workdir_oid-for-pr
# Commit to gitgit add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_submodule.cgit commit -m "better docs for Rugged::Submodule#workdir_oid"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Rugged--Submodule-workdir_oid-for-pr
hub pull-request
# Celebrate!