mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vcs-log] fix parent text in changes view
Broken in 6abee7e, Hash.toShortString should be used instead of CommitId.toString.
This commit is contained in:
@@ -276,7 +276,7 @@ class VcsLogChangesBrowser extends ChangesBrowserBase implements Disposable {
|
||||
|
||||
@NotNull
|
||||
private String getText(@NotNull CommitId commitId) {
|
||||
String text = "Changes to " + commitId;
|
||||
String text = "Changes to " + commitId.getHash().toShortString();
|
||||
VcsShortCommitDetails detail = myDataGetter.fun(commitId);
|
||||
if (!(detail instanceof LoadingDetails) || (detail instanceof IndexedDetails)) {
|
||||
text += " " + StringUtil.shortenTextWithEllipsis(detail.getSubject(), 50, 0);
|
||||
|
||||
Reference in New Issue
Block a user