diff options
author | Michael Muré <batolettre@gmail.com> | 2019-11-19 21:12:10 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2019-11-19 21:12:10 +0100 |
commit | 5054b8dbdc6fa9c027c6eb172f6364235209362f (patch) | |
tree | 6cf316e5f6088c93008faae935d0ac4be0548c8e /bridge | |
parent | 60427f066af7aefb806883809090120a9654331a (diff) | |
download | git-bug-5054b8dbdc6fa9c027c6eb172f6364235209362f.tar.gz |
github: sort project candidate in the interactive wizard
Diffstat (limited to 'bridge')
-rw-r--r-- | bridge/github/config.go | 3 |
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 } |