Enum git_workarea::Conflict [−][src]
pub enum Conflict {
Path(PathBuf),
SubmoduleNotMerged(PathBuf),
SubmoduleNotPresent(PathBuf),
SubmoduleWithFix(PathBuf, CommitId),
}Expand description
Representation of merge conflict possibilities.
Variants
Path(PathBuf)
Tuple Fields
0: PathBufA regular blob has conflicted.
SubmoduleNotMerged(PathBuf)
Tuple Fields
0: PathBufA submodule points to a commit not merged into the target branch.
SubmoduleNotPresent(PathBuf)
Tuple Fields
0: PathBufThe submodule points to a commit not present in the main repository.
SubmoduleWithFix(PathBuf, CommitId)
The submodule conflicts, but a resolution is available.
This occurs when the submodule points to a commit not on the first-parent history of the target branch on both sides of the merge. The suggested commit is the oldest commit on the main branch which contains both branches.