sonic-pi

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

C++

Code. Music. Live.

Rugged::Walker#push

Push one new +commit+ to start the walk from. +commit+ must be a
+String+ with the OID of a commit in the repository, or a <tt>Rugged::Commit</tt>
instance.

More than one commit may be pushed to the walker (to walk several
branches simulataneously).

Duplicate pushed commits will be ignored; at least one commit must have been
pushed as a starting point before the walk can begin.

  walker.push("92b22bbcb37caf4f6f53d30292169e84f5e4283b")

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/ext/rugged/rugged_revwalk.c

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Rugged--Walker-push-for-pr


# Commit to git

git add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_revwalk.cgit commit -m "better docs for Rugged::Walker#push"


# 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--Walker-push-for-pr

hub pull-request


# Celebrate!