public class ConvergentRenameGitMergeConflict extends AbstractPathGitMergeConflict
Prior to Git 2.21, when different files are renamed to the same destination, git merge
would not write
anything to the renamed file
. Instead, it would rename "our" file
to
one temporary file
and "their" file
to another temporary file
.
Starting in Git 2.21, git merge
's handling has changed and MergedRenameGitMergeConflict
replaces this conflict type.
Constructor and Description |
---|
ConvergentRenameGitMergeConflict(String message,
String path,
String ourSrcPath,
String ourTmpPath,
String theirSrcPath,
String theirTmpPath) |
Modifier and Type | Method and Description |
---|---|
void |
accept(GitMergeConflictVisitor visitor) |
String |
getOurSrcPath() |
String |
getOurTmpPath() |
String |
getTheirSrcPath() |
String |
getTheirTmpPath() |
getPath
getMessage, getOurChange, getTheirChange, getType
public void accept(@Nonnull GitMergeConflictVisitor visitor)
Copyright © 2019 Atlassian. All rights reserved.