From 9113cd8a3ff629c9e42f843d5664ec216e1f9b61 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Wed, 30 Jan 2019 00:52:37 -0500 Subject: [PATCH] Sorts repos in quick pick --- src/quickpicks/repositoriesQuickPick.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quickpicks/repositoriesQuickPick.ts b/src/quickpicks/repositoriesQuickPick.ts index 6f3737a..6b323cd 100644 --- a/src/quickpicks/repositoriesQuickPick.ts +++ b/src/quickpicks/repositoriesQuickPick.ts @@ -28,7 +28,7 @@ export class RepositoriesQuickPick { goBackCommand?: CommandQuickPickItem ): Promise { 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)[]; if (goBackCommand !== undefined) {