RepositoryLocation (@NotNull FilePath root) { AbstractVcs vcs = ProjectLevelVcsManager.getInstance(myProject).getVcsFor(root); if (vcs == null) return null; return CommittedChangesCache.getInstance(myProject).getLocationCache().getLocation(vcs, root, false); }