libgit2

git_rebase_options

Version:

Rebase options

Use to tell the rebase machinery how to operate.

Signature

typedef struct git_rebase_options { unsigned int version int quiet const char *rewrite_notes_ref git_checkout_options checkout_options };

Members

unsigned int
version
int
quiet

Used by git_rebase_init, 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.

const char *
rewrite_notes_ref

Used by git_rebase_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 coniguration 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.

checkout_options

Options to control how files are written during git_rebase_init, git_checkout_next and git_checkout_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.

Parameter To

Versions