sonic-pi

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

C++

Code. Music. Live.

Rugged::TagCollection#[]

Lookup a tag in +repo+, with the given +name+.

+name+ can be a short or canonical tag name
(e.g. +v0.1.0+ or +refs/tags/v0.1.0+).

Returns the looked up tag, or +nil+ if the tag doesn't exist.

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

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Rugged--TagCollection----for-pr


# Commit to git

git add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_tag_collection.cgit commit -m "better docs for Rugged::TagCollection#[]"


# 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--TagCollection----for-pr

hub pull-request


# Celebrate!