From 3ca9867b4da7830cfa996478034e00528a4cccee Mon Sep 17 00:00:00 2001 From: vince-fugnitto Date: Fri, 20 Dec 2019 09:13:06 -0500 Subject: [PATCH] Update 'git checkout' statusbar tooltip Fixes #6765 - updates the tooltip for the `git checkout` statusbar tooltip aligning it with the value present in VS Code. Now, the tooltip displays the current branch, as well as the status of the branch (`unstaged`, `staged`, `merged` changes) Signed-off-by: vince-fugnitto --- packages/git/src/browser/git-contribution.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/git/src/browser/git-contribution.ts b/packages/git/src/browser/git-contribution.ts index 56ae33284a6fc..5dd8cf362b000 100644 --- a/packages/git/src/browser/git-contribution.ts +++ b/packages/git/src/browser/git-contribution.ts @@ -638,7 +638,7 @@ export class GitContribution implements CommandContribution, MenuContribution, T return { command: GIT_COMMANDS.CHECKOUT.id, title: `$(code-fork) ${branch}${changes}`, - tooltip: 'Checkout...' + tooltip: `${branch}${changes}` }; } protected getSyncStatusBarCommand(): ScmCommand | undefined {