pub struct Options {
pub allow_missing_merge_base: bool,
pub tree_merge: Options,
pub use_first_merge_base: bool,
}
Expand description
A way to configure commit()
.
Fields§
§allow_missing_merge_base: bool
If true
, merging unrelated commits is allowed, with the merge-base being assumed as empty tree.
tree_merge: Options
Options to define how trees should be merged.
use_first_merge_base: bool
If true
, do not merge multiple merge-bases into one. Instead, just use the first one.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more