mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Patches: corrected behaviour in case there are few files with the same name and checksums.
This commit is contained in:
@@ -52,7 +52,7 @@ public class DiffCalculator {
|
||||
String source = byContent.get(create.getValue());
|
||||
boolean move = true;
|
||||
|
||||
if (source == null) {
|
||||
if (source == null || create.getKey().startsWith("jre")) {
|
||||
List<String> sameName = byName.get(new File(create.getKey()).getName());
|
||||
if (sameName != null) {
|
||||
source = findBestCandidateForMove(sameName, create.getKey());
|
||||
|
||||
Reference in New Issue
Block a user