private static boolean isUnder(@NotNull GitFileStatus record, @NotNull RootDirtySet dirtySet) {
    return dirtySet.belongsTo(record.getPath()) ||
           record.getOrigPath() != null && dirtySet.belongsTo(record.getOrigPath());
  }
private static boolean isUnder(@NotNull GitFileStatus record, @NotNull RootDirtySet dirtySet)