mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
related to #57224
This commit is contained in:
parent
195c4e6b73
commit
200a7185a0
|
@ -1378,7 +1378,8 @@ export class CommandCenter {
|
|||
const remoteRefs = repository.refs;
|
||||
const remoteRefsFiltered = remoteRefs.filter(r => (r.remote === remotePick.label));
|
||||
const branchPicks = remoteRefsFiltered.map(r => ({ label: r.name })) as { label: string; description: string }[];
|
||||
const branchPick = await window.showQuickPick(branchPicks, { placeHolder });
|
||||
const branchPlaceHolder = localize('pick branch pull', "Pick a branch to pull from");
|
||||
const branchPick = await window.showQuickPick(branchPicks, { placeHolder: branchPlaceHolder });
|
||||
|
||||
if (!branchPick) {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue