sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Rugged::Walker#each_oid
Perform the walk through the repository, yielding each
one of the commit oids found as a <tt>String</tt>
to +block+.
If no +block+ is given, an +Iterator+ will be returned.
The walker must have been previously set-up before a walk can be performed
(i.e. at least one commit must have been pushed).
walker.push("92b22bbcb37caf4f6f53d30292169e84f5e4283b")
walker.each { |commit_oid| puts commit_oid }
generates:
92b22bbcb37caf4f6f53d30292169e84f5e4283b
6b750d5800439b502de669465b385e5f469c78b6
ef9207141549f4ffcd3c4597e270d32e10d0a6bc
cb75e05f0f8ac3407fb3bd0ebd5ff07573b16c9f
...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_revwalk.c
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rugged--Walker-each_oid-for-pr
# Commit to gitgit add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_revwalk.cgit commit -m "better docs for Rugged::Walker#each_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--Walker-each_oid-for-pr
hub pull-request
# Celebrate!