git_rebase_inmemory_index

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.

extern (C) nothrow @nogc public
int
git_rebase_inmemory_index

Parameters

index libgit2.types.git_index**

The result index of the last operation.

rebase libgit2.types.git_rebase*

The in-progress rebase.

Return Value

Type: int

0 or an error code

Meta