|
@ -28,7 +28,7 @@ export class RepositoriesQuickPick { |
|
|
goBackCommand?: CommandQuickPickItem |
|
|
goBackCommand?: CommandQuickPickItem |
|
|
): Promise<RepositoryQuickPickItem | CommandQuickPickItem | undefined> { |
|
|
): Promise<RepositoryQuickPickItem | CommandQuickPickItem | undefined> { |
|
|
const items = [ |
|
|
const items = [ |
|
|
...Iterables.map(await Container.git.getRepositories(), r => new RepositoryQuickPickItem(r)) |
|
|
|
|
|
|
|
|
...Iterables.map(await Container.git.getOrderedRepositories(), r => new RepositoryQuickPickItem(r)) |
|
|
] as (RepositoryQuickPickItem | CommandQuickPickItem)[]; |
|
|
] as (RepositoryQuickPickItem | CommandQuickPickItem)[]; |
|
|
|
|
|
|
|
|
if (goBackCommand !== undefined) { |
|
|
if (goBackCommand !== undefined) { |
|
|