private static @NotNull FilePath getFilePath(@NotNull VirtualFile root, @NotNull StatusRecord status) {
    String path = status.getPath();
    return GitContentRevision.createPath(root, path, path.endsWith("/"));
  }
private static @NotNull FilePath getFilePath(@NotNull VirtualFile root, @NotNull StatusRecord status)