Ggit.RevertOptions¶
Fields¶
None
Methods¶
class  | 
  | 
  | 
|
  | 
Details¶
- class Ggit.RevertOptions¶
 Represents the options used when reverting.
- classmethod new(mainline, merge_options, checkout_options)¶
 - Parameters:
 mainline (
int) – the mainline.merge_options (
Ggit.MergeOptionsorNone) – aGgit.MergeOptions.checkout_options (
Ggit.CheckoutOptionsorNone) – aGgit.CheckoutOptions.
- Returns:
 a
Ggit.RevertOptionsorNone.- Return type:
 
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.RevertOptionsorNone.- Return type:
 
Copies self into a newly allocated
Ggit.RevertOptions.
- free()¶
 Frees self.