sonic-pi

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

C++

Code. Music. Live.

RuggedObject#notes

Lookup a note for +obj+ from +notes_ref+:
- +notes_ref+: (optional): canonical name of the reference to use, defaults to "refs/notes/commits"

Returns a new Hash object.

  obj.notes #=> {:message=>"note text\n", :oid=>"94eca2de348d5f672faf56b0decafa5937e3235e"}

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_note.c

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-RuggedObject-notes-for-pr


# Commit to git

git add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_note.cgit commit -m "better docs for RuggedObject#notes"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-RuggedObject-notes-for-pr

hub pull-request


# Celebrate!