public void execute()

in src/com/intellij/vssSupport/commands/StatusMultipleCommand.java [39:72]


  public void execute()
  {
    VssOutputCollector listener = (files.size() == 1) ? new SingleStatusListener( myErrors ) :
                                                        new MultipleStatusListener( myErrors );
    deletedFiles = new HashSet<>();
    nonexistingFiles = new HashSet<>();
    checkoutFiles = new HashSet<>();

    int currIndex = 0;
    int cmdLineLen;
    LinkedList<String> options = new LinkedList<>();
    while( currIndex < files.size() )
    {
      cmdLineLen = STATUS_COMMAND.length() + CURRENT_USER_OPTION.length();

      options.clear();
      options.add( STATUS_COMMAND );
      if( myConfig.USER_NAME.length() > 0 )
      {
        options.add( myConfig.getYOption() );
        cmdLineLen += myConfig.getYOption().length();
      }
      options.add( CURRENT_USER_OPTION );
      
      while( currIndex < files.size() && cmdLineLen < CMDLINE_MAX_LENGTH )
      {
        String vssPath = VssUtil.getVssPath( files.get( currIndex++ ), false, myProject );
        options.add( vssPath );
        cmdLineLen += vssPath.length() + 1;
      }
      
      runProcess( options, null, listener );
    }
  }