Struct git2::MergeOptions [] [src]

pub struct MergeOptions {
    // some fields omitted
}

Options to specify when merging.

Methods

impl MergeOptions
[src]

Creates a default set of merge options.

Detect file renames

Similarity to consider a file renamed (default 50)

Maximum similarity sources to examine for renames (default 200). If the number of rename candidates (add / delete pairs) is greater than this value, inexact rename detection is aborted. This setting overrides the merge.renameLimit configuration value.

Specify a side to favor for resolving conflicts

Create standard conflicted merge files

Create diff3-style file

Condense non-alphanumeric regions for simplified diff file

Ignore all whitespace

Ignore changes in amount of whitespace

Ignore whitespace at end of line

Use the "patience diff" algorithm

Take extra time to find minimal diff

Acquire a pointer to the underlying raw options.