Gets the index produced by the last operation, which is the result
of git_rebase_next
and which will be committed by the next
invocation of git_rebase_commit
. This is useful for resolving
conflicts in an in-memory rebase before committing them. You must
call git_index_free
when you are finished with this.
This is only applicable for in-memory rebases; for rebases within a working directory, the changes were applied to the repository's index.