summaryrefslogtreecommitdiffstats
path: root/pkg/gui/context/remotes_context.go
diff options
context:
space:
mode:
authorStefan Haller <stefan@haller-berlin.de>2024-03-17 12:11:24 +0100
committerStefan Haller <stefan@haller-berlin.de>2024-03-17 12:23:07 +0100
commit4f2bebe453c42ac9fd9896eb32cf044eb3af1697 (patch)
tree7c46788062778830daf82c9d713c7b7bdffff876 /pkg/gui/context/remotes_context.go
parent7d2163d63297063364a18a4d62077badc1c1f47e (diff)
Get rid of the retain-sort-order-when-filtering logic again
For die-hard fuzzy-searching fans it's probably in the way, so taking it out makes fuzzy filtering work better. For substring filtering it always retains the sort order anyway.
Diffstat (limited to 'pkg/gui/context/remotes_context.go')
-rw-r--r--pkg/gui/context/remotes_context.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/gui/context/remotes_context.go b/pkg/gui/context/remotes_context.go
index 51fc1c036..73ea428aa 100644
--- a/pkg/gui/context/remotes_context.go
+++ b/pkg/gui/context/remotes_context.go
@@ -22,7 +22,6 @@ func NewRemotesContext(c *ContextCommon) *RemotesContext {
func(remote *models.Remote) []string {
return []string{remote.Name}
},
- nil,
)
getDisplayStrings := func(_ int, _ int) [][]string {