diff options
author | Johannes Rieken <johannes.rieken@gmail.com> | 2022-07-20 14:49:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-20 14:49:24 +0300 |
commit | ce5d92e99851c0d1136b083a04134157a1604965 (patch) | |
tree | 64f0457f9b925c7b8dd87462f04f2f5ff260420c /extensions | |
parent | 7a1f7101dbc3ca27ac222fc06a6d7d17eb5ce1b7 (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.ts | 4 |
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 |