sonic-pi

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

C++

Code. Music. Live.

Rugged::Rebase#inmemory_index

Gets the index produced by the last operation, which is the result
of +next+ and which will be committed by the next invocation of
+commit+.  This is useful for resolving conflicts in an in-memory
rebase before committing them.

This is only applicable for in-memory rebases; for rebases within
a working directory, the changes were applied to the repository's
index.

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

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Rugged--Rebase-inmemory_index-for-pr


# Commit to git

git add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_rebase.cgit commit -m "better docs for Rugged::Rebase#inmemory_index"


# 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--Rebase-inmemory_index-for-pr

hub pull-request


# Celebrate!