mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vcs-log] do not group changes from external repository by root
GitOrigin-RevId: a21842826f1c720a17d73eed1db89019eeb93444
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a89d886ce2
commit
9e8247c682
@@ -20,6 +20,8 @@ class RepositoryChangesGroupingPolicy(val project: Project, val model: DefaultTr
|
||||
val nextPolicyParent = nextPolicy?.getParentNodeFor(nodePath, subtreeRoot)
|
||||
|
||||
file?.let { repositoryManager.getRepositoryForFile(it, true) }?.let { repository ->
|
||||
if (repositoryManager.isExternal(repository)) return nextPolicyParent
|
||||
|
||||
val grandParent = nextPolicyParent ?: subtreeRoot
|
||||
val cachingRoot = getCachingRoot(grandParent, subtreeRoot)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user