Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Rieken <johannes.rieken@gmail.com>2022-07-20 14:49:24 +0300
committerGitHub <noreply@github.com>2022-07-20 14:49:24 +0300
commitce5d92e99851c0d1136b083a04134157a1604965 (patch)
tree64f0457f9b925c7b8dd87462f04f2f5ff260420c /extensions
parent7a1f7101dbc3ca27ac222fc06a6d7d17eb5ce1b7 (diff)
use commit-icon for description, tweak codicon font-size (#155714)
https://github.com/microsoft/vscode/issues/150863
Diffstat (limited to 'extensions')
-rw-r--r--extensions/git/src/commands.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/git/src/commands.ts b/extensions/git/src/commands.ts
index e0b7b5d4670..b1bb4907684 100644
--- a/extensions/git/src/commands.ts
+++ b/extensions/git/src/commands.ts
@@ -432,11 +432,11 @@ export class CommandCenter {
]);
// ours (current branch and commit)
ours.detail = head.refNames.map(s => s.replace(/^HEAD ->/, '')).join(', ');
- ours.description = head.hash.substring(0, 7);
+ ours.description = '$(git-commit) ' + head.hash.substring(0, 7);
// theirs
theirs.detail = rebaseOrMergeHead.refNames.join(', ');
- theirs.description = rebaseOrMergeHead.hash.substring(0, 7);
+ theirs.description = '$(git-commit) ' + rebaseOrMergeHead.hash.substring(0, 7);
} catch (error) {
// not so bad, can continue with just uris