private static @NotNull Set<FilePath> parseFiles(@NotNull VirtualFile root,
                                                   @Nullable String output,
                                                   @NotNull String fileStatusPrefix) throws VcsException {
    if (StringUtil.isEmptyOrSpaces(output)) return emptySet();

    final Set<FilePath> files = new HashSet<>();
    for (String relPath : output.split("\u0000")) {
      ProgressManager.checkCanceled();
      if (!relPath.startsWith(fileStatusPrefix)) continue;

      String relativePath = relPath.substring(fileStatusPrefix.length());
      files.add(GitContentRevision.createPath(root, relativePath, relativePath.endsWith("/")));
    }

    return files;
  }
private static @NotNull Set<FilePath> parseFiles(@NotNull VirtualFile root,
                                                   @Nullable String output,
                                                   @NotNull String fileStatusPrefix)