sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Rugged::Blob.from_disk
Write the file specified in +file_path+ to a blob in +repository+. The repository can be bare or not. Example: Blob.from_disk(repo, '/var/repos/blob.h') #=> '5b5b025afb0b4c913b4c338a42934a3863bf3643'
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_blob.c
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rugged--Blob-from_disk-for-pr
# Commit to gitgit add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_blob.cgit commit -m "better docs for Rugged::Blob.from_disk"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Rugged--Blob-from_disk-for-pr
hub pull-request
# Celebrate!