File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ export class ChangeBranchMergeTargetCommand extends QuickCommand {
100100 placeholder : 'Pick a merge target branch' ,
101101 filter : ( branch : GitBranch ) => branch . remote && branch . name !== state . branch ,
102102 resetTitle : 'Reset Merge Target' ,
103- resetDescription : `Reset to "${ detectedMergeTarget } "` ,
103+ resetDescription : detectedMergeTarget ? `Reset to "${ detectedMergeTarget } "` : '' ,
104104 } ) ;
105105 if ( result === StepResultBreak ) {
106106 continue ;
Original file line number Diff line number Diff line change @@ -823,7 +823,7 @@ export function* pickOrResetBranchStep<
823823
824824 const resetButton : QuickInputButton = {
825825 iconPath : new ThemeIcon ( 'notebook-revert' ) ,
826- tooltip : resetDescription ,
826+ tooltip : resetDescription || resetTitle ,
827827 } ;
828828 let resetButtonClicked = false ;
829829 const step = createPickStep < BranchQuickPickItem > ( {
You can’t perform that action at this time.
0 commit comments