sonic-pi

https://github.com/sonic-pi-net/sonic-pi

C++

Code. Music. Live.

Rugged::Repository#walk

Walks over a set of commits using Rugged::Walker.

from    - The String SHA1 to push onto Walker to begin our walk.
sorting - The sorting order of the commits, as defined in the README.
block   - A block that we pass into walker#each.

Returns nothing if called with a block, otherwise returns an instance of
Enumerable::Enumerator containing Rugged::Commit objects.

Source | Google | Stack overflow

Edit

git clone [email protected]:sonic-pi-net/sonic-pi.git

cd sonic-pi

open app/server/ruby/vendor/rugged-1.7.1/lib/rugged/repository.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Rugged--Repository-walk-for-pr


# Commit to git

git add app/server/ruby/vendor/rugged-1.7.1/lib/rugged/repository.rbgit commit -m "better docs for Rugged::Repository#walk"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Rugged--Repository-walk-for-pr

hub pull-request


# Celebrate!