sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Rugged::Commit#to_mbox
Returns +commit+'s contents formatted to resemble UNIX mailbox format. Does not (yet) support merge commits. The following options can be passed in the +options+ Hash: :patch_no :: Number for this patch in the series. Defaults to +1+. :total_patches :: Total number of patches in the series. Defaults to +1+. :exclude_subject_patch_marker :: If set to true, no "[PATCH]" marker will be added to the beginning of the subject line. Additionally, you can also pass the same options as for Rugged::Tree#diff.
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 branchgit checkout -b -your-name--update-docs-Rugged--Commit-to_mbox-for-pr
# Commit to gitgit add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_commit.cgit commit -m "better docs for Rugged::Commit#to_mbox"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Rugged--Commit-to_mbox-for-pr
hub pull-request
# Celebrate!