diff --git a/platform/vcs-log/impl/src/com/intellij/vcs/log/data/index/VcsLogPathsIndex.java b/platform/vcs-log/impl/src/com/intellij/vcs/log/data/index/VcsLogPathsIndex.java index bee21ca99b1b..38979f359bb3 100644 --- a/platform/vcs-log/impl/src/com/intellij/vcs/log/data/index/VcsLogPathsIndex.java +++ b/platform/vcs-log/impl/src/com/intellij/vcs/log/data/index/VcsLogPathsIndex.java @@ -260,6 +260,12 @@ public class VcsLogPathsIndex extends VcsLogFullDetailsIndex { + changedPaths.add(PathUtil.getParentPath(move.first)); + changedPaths.add(PathUtil.getParentPath(move.second)); + // we need to index all parents for the moves + // so it makes sense to add them there + }); getParentPaths(changedPaths).forEach(changedPath -> { try { addChangeToResult(result, finalParent, changedPath, null); @@ -311,6 +317,7 @@ public class VcsLogPathsIndex extends VcsLogFullDetailsIndex