if (baseRevision.isPresent()) {
hashes.add(baseRevision.get().first);
}
hashes.add(revisionId);
gitCommits = GitHistoryUtils.commitsDetails(project, filePath, new SymbolicRefs(), hashes);
} catch (VcsException e) {
log.warn("Error getting Git commit details.", e);
NotificationBuilder notification = new NotificationBuilder(
project, "Cannot show change",
"Git error occurred while getting commit. Please check if Gerrit is configured as remote " +