Ggit.RevertOptions

Fields

None

Methods

class

new (mainline, merge_options, checkout_options)

copy ()

free ()

Details

class Ggit.RevertOptions

Represents the options used when reverting.

classmethod new(mainline, merge_options, checkout_options)
Parameters:
Returns:

a Ggit.RevertOptions or None.

Return type:

Ggit.RevertOptions or None

Create a new Ggit.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.

copy()
Returns:

a newly allocated Ggit.RevertOptions or None.

Return type:

Ggit.RevertOptions or None

Copies self into a newly allocated Ggit.RevertOptions.

free()

Frees self.