public @Nullable CommitId getCommitId(int row) {
    VcsCommitMetadata metadata = getCommitMetadata(row);
    if (metadata instanceof LoadingDetails) return null;
    return new CommitId(metadata.getId(), metadata.getRoot());
  }
public @Nullable CommitId getCommitId(int row)