sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Rugged::Reference#log
Return an array with the log of all modifications to this reference
Each +reflog_entry+ is a hash with the following keys:
- +:id_old+: previous OID before the change
- +:id_new+: OID after the change
- +:committer+: author of the change
- +:message+: message for the change
Example:
reference.log #=> [
# {
# :id_old => nil,
# :id_new => '9d09060c850defbc7711d08b57def0d14e742f4e',
# :committer => {:name => 'Vicent Marti', :email => {'[email protected]'}},
# :message => 'created reference'
# }, ... ]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_reference.c
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rugged--Reference-log-for-pr
# Commit to gitgit add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_reference.cgit commit -m "better docs for Rugged::Reference#log"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Rugged--Reference-log-for-pr
hub pull-request
# Celebrate!