diff options
author | Stefan Haller <stefan@haller-berlin.de> | 2024-03-17 12:11:24 +0100 |
---|---|---|
committer | Stefan Haller <stefan@haller-berlin.de> | 2024-03-17 12:23:07 +0100 |
commit | 4f2bebe453c42ac9fd9896eb32cf044eb3af1697 (patch) | |
tree | 7c46788062778830daf82c9d713c7b7bdffff876 /pkg/gui/context/remotes_context.go | |
parent | 7d2163d63297063364a18a4d62077badc1c1f47e (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.go | 1 |
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 { |