sonic-pi

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

C++

Code. Music. Live.

Rugged::Commit#author

Return the signature for the author of this +commit+. The signature
is returned as a +Hash+ containing +:name+, +:email+ of the author
and +:time+ of the change.

The author of the commit is the person who intially created the changes.

In Ruby 1.9+, the returned string will be encoded with the encoding
specified in the +Encoding+ header of the commit, if available.

  commit.author #=> {:email=>"[email protected]", :time=>Tue Jan 24 05:42:45 UTC 2012, :name=>"Vicent Mart\303\255"}

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

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Rugged--Commit-author-for-pr


# Commit to git

git add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_commit.cgit commit -m "better docs for Rugged::Commit#author"


# 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--Commit-author-for-pr

hub pull-request


# Celebrate!