libgit2

git_rebase_open

Version:

Opens an existing rebase that was previously started by either an invocation of git_rebase_init or by another client.

Signature

int git_rebase_open(git_rebase **out, git_repository *repo, const git_rebase_options *opts);

Parameters

In
out

Pointer to store the rebase object

In
repo

The repository that has a rebase in-progress

In
opts

Options to specify how rebase is performed

Returns

int

Zero on success; -1 on failure.

Versions