aboutsummaryrefslogtreecommitdiffstats
path: root/bridge/github/config.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-11-19 21:12:10 +0100
committerMichael Muré <batolettre@gmail.com>2019-11-19 21:12:10 +0100
commit5054b8dbdc6fa9c027c6eb172f6364235209362f (patch)
tree6cf316e5f6088c93008faae935d0ac4be0548c8e /bridge/github/config.go
parent60427f066af7aefb806883809090120a9654331a (diff)
downloadgit-bug-5054b8dbdc6fa9c027c6eb172f6364235209362f.tar.gz
github: sort project candidate in the interactive wizard
Diffstat (limited to 'bridge/github/config.go')
-rw-r--r--bridge/github/config.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/bridge/github/config.go b/bridge/github/config.go
index 434a2c63..e76a14f4 100644
--- a/bridge/github/config.go
+++ b/bridge/github/config.go
@@ -11,6 +11,7 @@ import (
"net/http"
"os"
"regexp"
+ "sort"
"strconv"
"strings"
"syscall"
@@ -471,6 +472,8 @@ func getValidGithubRemoteURLs(remotes map[string]string) []string {
}
}
+ sort.Strings(urls)
+
return urls
}