Create a new #GgitRevertOptions. 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.
the mainline.
a #GgitMergeOptions.
a #GgitCheckoutOptions.
Copies revert_options
into a newly allocated #GgitRevertOptions.
Frees revert_options
.
Create a new #GgitRevertOptions. 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.
the mainline.
a #GgitMergeOptions.
a #GgitCheckoutOptions.
Represents the options used when reverting.