private void collectSuspiciousFiles()

in src/com/intellij/vssSupport/VssChangeProvider.java [225:247]


  private void collectSuspiciousFiles( final FilePath filePath, final List<String> writableFiles )
  {
    VirtualFile vf = filePath.getVirtualFile();
    if( vf != null )
    {
      ProjectLevelVcsManager.getInstance(project).iterateVcsRoot(vf, file -> {
        if (progress != null) {
          progress.checkCanceled();
        }
        String path = file.getPath();
        VirtualFile vFile = file.getVirtualFile();
        if(vFile != null) {
          if( host.isFileIgnored(vFile) )
            filesIgnored.add( path );
          else if (vFile.isWritable() && !vFile.isDirectory() )
            writableFiles.add( path );
        }

        return true;
      }
      );
    }
  }