[][src]Struct git2::RebaseOptions

pub struct RebaseOptions<'cb> { /* fields omitted */ }

Rebase options

Use to tell the rebase machinery how to operate.

Methods

impl<'cb> RebaseOptions<'cb>
[src]

Creates a new default set of rebase options.

Used by Repository::rebase, this will instruct other clients working on this rebase that you want a quiet rebase experience, which they may choose to provide in an application-specific manner. This has no effect upon libgit2 directly, but is provided for interoperability between Git tools.

Used by Repository::rebase, this will begin an in-memory rebase, which will allow callers to step through the rebase operations and commit the rebased changes, but will not rewind HEAD or update the repository to be in a rebasing state. This will not interfere with the working directory (if there is one).

Used by finish(), this is the name of the notes reference used to rewrite notes for rebased commits when finishing the rebase; if NULL, the contents of the configuration option notes.rewriteRef is examined, unless the configuration option notes.rewrite.rebase is set to false. If notes.rewriteRef is also NULL, notes will not be rewritten.

Options to control how trees are merged during next().

Options to control how files are written during Repository::rebase, next() and abort(). Note that a minimum strategy of GIT_CHECKOUT_SAFE is defaulted in init and next, and a minimum strategy of GIT_CHECKOUT_FORCE is defaulted in abort to match git semantics.

Acquire a pointer to the underlying raw options.

Trait Implementations

impl<'cb> Default for RebaseOptions<'cb>
[src]

Auto Trait Implementations

impl<'cb> !Send for RebaseOptions<'cb>

impl<'cb> !Sync for RebaseOptions<'cb>

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]