sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Rugged::Index#conflicts
Return all conflicts in +index+. Each conflict is represented as a Hash with +:ancestor+, +:ours+ or +:theirs+ key-value pairs, each containing index entry data. If the value of the +:ancestor+, +:ours+ or +:theirs+ key is +nil+, that indicates that file in conflict did not exists in the respective tree.
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_index.c
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rugged--Index-conflicts-for-pr
# Commit to gitgit add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_index.cgit commit -m "better docs for Rugged::Index#conflicts"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Rugged--Index-conflicts-for-pr
hub pull-request
# Celebrate!