RevertOptions


Description:

[ CCode ( has_construct_function = false ) ]
public RevertOptions (uint mainline, MergeOptions? merge_options, CheckoutOptions? checkout_options)

Create a new RevertOptions.

Note that the passed in merge_options and checkout_options are copied by this function, and alterations in either after this call are therefore not reflected in the revert options.

The mainline indicates which parent to use for the revert when reverting a merge commit.

Parameters:

mainline

the mainline.

merge_options

a MergeOptions.

checkout_options

a CheckoutOptions.

Returns:

a RevertOptions or null.