mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-27 13:16:59 +00:00
Git - include short commit hash in the ref picker details (#249874)
This commit is contained in:
@@ -91,7 +91,7 @@ class RefItem implements QuickPickItem {
|
||||
|
||||
get detail(): string | undefined {
|
||||
if (this.ref.commitDetails?.authorName && this.ref.commitDetails?.message) {
|
||||
return `${this.ref.commitDetails?.authorName}$(circle-small-filled)${this.ref.commitDetails?.message}`;
|
||||
return `${this.ref.commitDetails.authorName}$(circle-small-filled)${this.shortCommit}$(circle-small-filled)${this.ref.commitDetails.message}`;
|
||||
}
|
||||
|
||||
return undefined;
|
||||
|
||||
Reference in New Issue
Block a user