Skip to content

Commit fee5794

Browse files
committed
Remove outdated comment
Maybe I'm misunderstanding what the comment was supposed to mean, but we do show all paths if nothing has been typed.
1 parent 43b379f commit fee5794

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pkg/gui/controllers/helpers/suggestions_helper.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@ func (self *SuggestionsHelper) GetBranchNameSuggestionsFunc() func(string) []*ty
8989
// self.c.Model().FilesTrie. On the main thread we'll be doing a fuzzy search via
9090
// self.c.Model().FilesTrie. So if we've looked for a file previously, we'll start with
9191
// the old trie and eventually it'll be swapped out for the new one.
92-
// Notably, unlike other suggestion functions we're not showing all the options
93-
// if nothing has been typed because there'll be too much to display efficiently
9492
func (self *SuggestionsHelper) GetFilePathSuggestionsFunc() func(string) []*types.Suggestion {
9593
_ = self.c.WithWaitingStatus(self.c.Tr.LoadingFileSuggestions, func(gocui.Task) error {
9694
trie := patricia.NewTrie()

0 commit comments

Comments
 (0)