cherry_pick_commit


Description:

public Index? cherry_pick_commit (Commit commit, Commit our_commit, uint mainline, MergeOptions? merge_options) throws Error

Cherry-picks the given commit against the provided our_commit, producing and index that reflects the result of the cherry-pick.

Parameters:

this

a Repository.

commit

a Commit to cherry-pick.

our_commit

a Commit to cherry-pick on.

mainline

the parent of the commit, in case of a merge commit.

merge_options

a MergeOptions.

Returns:

a Index.