|
@ -34,7 +34,7 @@ export class ComparePickerNode extends ViewNode { |
|
|
let item; |
|
|
let item; |
|
|
if (selectedRef === undefined) { |
|
|
if (selectedRef === undefined) { |
|
|
item = new TreeItem( |
|
|
item = new TreeItem( |
|
|
`Compare <branch, tag, or ref> to <branch, tag, or ref>${repository}`, |
|
|
|
|
|
|
|
|
`Compare <branch, tag, or ref> with <branch, tag, or ref>${repository}`, |
|
|
TreeItemCollapsibleState.None |
|
|
TreeItemCollapsibleState.None |
|
|
); |
|
|
); |
|
|
item.contextValue = ResourceType.ComparePicker; |
|
|
item.contextValue = ResourceType.ComparePicker; |
|
@ -46,11 +46,11 @@ export class ComparePickerNode extends ViewNode { |
|
|
} |
|
|
} |
|
|
else { |
|
|
else { |
|
|
item = new TreeItem( |
|
|
item = new TreeItem( |
|
|
`Compare ${selectedRef.label} to <branch, tag, or ref>${repository}`, |
|
|
|
|
|
|
|
|
`Compare ${selectedRef.label} with <branch, tag, or ref>${repository}`, |
|
|
TreeItemCollapsibleState.None |
|
|
TreeItemCollapsibleState.None |
|
|
); |
|
|
); |
|
|
item.contextValue = ResourceType.ComparePickerWithRef; |
|
|
item.contextValue = ResourceType.ComparePickerWithRef; |
|
|
item.tooltip = `Click to compare ${selectedRef.label} to${GlyphChars.Ellipsis}`; |
|
|
|
|
|
|
|
|
item.tooltip = `Click to compare ${selectedRef.label} with${GlyphChars.Ellipsis}`; |
|
|
item.command = { |
|
|
item.command = { |
|
|
title: `Compare ${selectedRef.label} with${GlyphChars.Ellipsis}`, |
|
|
title: `Compare ${selectedRef.label} with${GlyphChars.Ellipsis}`, |
|
|
command: this.view.getQualifiedCommand('compareWithSelected') |
|
|
command: this.view.getQualifiedCommand('compareWithSelected') |
|
|