mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
copy to should be the first option after merge
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user