public class MergedRenameGitMergeConflict extends AbstractPathGitMergeConflict
Starting in Git 2.21, when two different files are renamed to the same destination, git merge
merges
their contents in-place and stores the result in the renamed file
.
Prior to Git 2.21, git merge
stored the two original files in separate temporary files without trying
to merge them, and ConvergentRenameGitMergeConflict
is used instead of this conflict type.
ConvergentRenameGitMergeConflict
,
DivergentRenameGitMergeConflict
Constructor and Description |
---|
MergedRenameGitMergeConflict(String message,
String path,
String ourSrcPath,
String theirSrcPath) |
Modifier and Type | Method and Description |
---|---|
void |
accept(GitMergeConflictVisitor visitor) |
String |
getOurSrcPath() |
String |
getTheirSrcPath() |
getPath
getMessage, getOurChange, getTheirChange, getType
Copyright © 2019 Atlassian. All rights reserved.