sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Rugged::Submodule#update_rule
Returns the update rule for a submodule. There are four update_rule values: :checkout (default):: the new commit specified in the superproject will be checked out in the submodule on a detached +HEAD+. :rebase :: the current branch of the submodule will be rebased onto the commit specified in the superproject. :merge :: the commit specified in the superproject will be merged into the current branch of the submodule. :none :: the submodule will not be updated
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-update_rule-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#update_rule"
# 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-update_rule-for-pr
hub pull-request
# Celebrate!