copy to should be the first option after merge

This commit is contained in:
Konstantin Bulenkov
2013-03-08 10:40:16 +01:00
parent 8ac3b416f9
commit 79340453f8
@@ -214,7 +214,7 @@ public class DirDiffElementImpl implements DirDiffElement {
} else if (myType == DiffType.TARGET) {
myOperation = op == COPY_FROM ? DELETE : op == DELETE ? NONE : COPY_FROM;
} else if (myType == DiffType.CHANGED) {
myOperation = op == MERGE ? COPY_FROM : op == COPY_FROM ? COPY_TO : MERGE;
myOperation = op == MERGE ? COPY_TO : op == COPY_TO ? COPY_FROM : MERGE;
}
}